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

Which permissions do I need to grant to a github app to issue a token for this action? #359

Closed
k7k0 opened this issue Oct 11, 2024 · 2 comments

Comments

@k7k0
Copy link

k7k0 commented Oct 11, 2024

In our org, we can't create PAT. Instead, we use GitHub apps in combination with actions/create-github-app-token. I couldn't find which permissions to grant to the app to work with this action.

@peter-evans
Copy link
Owner

Hi @k7k0

I think it's contents: write and in "Organization permissions" you'll need members: read.

@k7k0
Copy link
Author

k7k0 commented Oct 17, 2024

Thanks Peter. I had to grant repository Pull-Request read only as well 👍

@k7k0 k7k0 closed this as completed Oct 17, 2024
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

No branches or pull requests

2 participants