Skip to content

Give create codespaces prebuild action right permissions - #61651

Merged
safern merged 1 commit into
mainfrom
givePrebuildRightPermissions
Nov 16, 2021
Merged

Give create codespaces prebuild action right permissions#61651
safern merged 1 commit into
mainfrom
givePrebuildRightPermissions

Conversation

@safern

@safernsafern commented Nov 16, 2021

Copy link
Copy Markdown
Member

Now that default permissions changed, prebuild action started failing as it needs contents write permissions.

@safern
safern requested review from a team and eerhardtNovember 16, 2021 03:24
@ghost

Copy link
Copy Markdown

Tagging subscribers to this area: @Anipik, @safern, @ViktorHofer
See info in area-owners.md if you want to be subscribed.

Issue Details

Now that default permissions changed, prebuilt action started failing as it needs contents write permissions.

Author:safern
Assignees:-
Labels:

area-Infrastructure-libraries

Milestone:-

@hoyosjshoyosjs left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This removes all other permissions except for metadata read and content write. If that's the only scope needed, :shipit:

@safern

Copy link
Copy Markdown
MemberAuthor

Thanks, yes that's the only scope needed. I've tested it and it works fine.

Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@safern@hoyosjs