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

pipe-cd/actions-gh-release Token Permissions #4914

Open
abacchilb opened this issue May 14, 2024 · 0 comments
Open

pipe-cd/actions-gh-release Token Permissions #4914

abacchilb opened this issue May 14, 2024 · 0 comments
Labels
kind/enhancement New feature or request

Comments

@abacchilb
Copy link

What would you like to be added:

In the https://github.com/pipe-cd/actions-gh-release/blob/main/README.md - document what permissions the GITHUB_TOKEN needs.

Why is this needed:

Github has updated their default token posture to only allow the token to read and not write. So now you need to set permissions above that in each job. It will be helpful to explicitly tell users what permissions are needed. ex:

permissions:
  contents: read
  issues: write
  pull-requests: write
  statuses: read
  checks: read
@abacchilb abacchilb added the kind/enhancement New feature or request label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant