New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What GitHub Actions permissions
does Release Drafter Need
#869
Comments
Your welcome to experiment 😅 I presume contents write and pull request read |
That worked, thanks! permissions:
contents: write
pull-requests: read |
Looks autolabeler stops working if I use:
Trying to work out what I need to add to get that to work. |
You most likely need pull-requests write to add labels |
Tried that but it didn't seem to do the trick. https://github.com/RehanSaeed/FastestNuGet/blob/main/.github/workflows/release-drafter.yml |
Did you try to add issues: read or write? |
I tried |
maybe labels are not covered by their current permission scheme |
@RehanSaeed was this successful? |
Almost. Auto labelling is still broken even if I give full permissions. |
Might be an issue for GitHub? I don't feel comfortable suggesting this unless it also works for auto labeling. |
I tried the permissions mentioned above but the
That might explain why it keeps failing. I wonder how projects that use the release drafter work around this. |
To enable write permissions for forks use the event |
@gilbertsoft I tried permissions: |
Closes release-drafter#869. Permissions based on analysis by https://app.stepsecurity.io/.
GitHub has released new
permissions
for GitHub actions. You can make a repo/organisation default to minimal read only permissions by default which causes release drafter to stop working. What permissions does release deafter need?https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token/
The text was updated successfully, but these errors were encountered: