Skip to content
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

Add GitHub Actions Permissions #870

Closed
wants to merge 1 commit into from

Conversation

RehanSaeed
Copy link

Fixes #869

@jetersen
Copy link
Member

These are optional, as far as I understand.

@RehanSaeed
Copy link
Author

Yes, could add a comment?

Comment on lines +29 to +31
permissions:
contents: write
pull-requests: read
Copy link

@danepowell danepowell Mar 8, 2022

Choose a reason for hiding this comment

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

Suggested change
permissions:
contents: write
pull-requests: read
# Your GITHUB_TOKEN must have the following permissions configured either globally or for the current job
permissions:
# Contents write permission is required to create and modify releases
contents: write
# Pull requests read permission is required to gather information from pull requests
pull-requests: read

@danepowell
Copy link

I suggested some comments. Let's get this merged, the lack of permissions just bit me trying to get this installed.

@jetersen
Copy link
Member

jetersen commented Mar 8, 2022

@danepowell autolabeler does not work with the permissions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

What GitHub Actions permissions does Release Drafter Need
3 participants