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

ci(): action permissions for PR from fork #8336

Open
ShaMan123 opened this issue Oct 1, 2022 · 3 comments
Open

ci(): action permissions for PR from fork #8336

ShaMan123 opened this issue Oct 1, 2022 · 3 comments
Assignees

Comments

@ShaMan123
Copy link
Contributor

ShaMan123 commented Oct 1, 2022

I read somewhere that PRs from forks receive a limited access token to avoid the fork accessing the repo.
This is why actions that do stuff like post a comment fail but there is a work around with tokens or permissions.

see romeovs/lcov-reporter-action#25

@ShaMan123 ShaMan123 added the CI/CD label Oct 1, 2022
@ShaMan123
Copy link
Contributor Author

ShaMan123 commented Oct 1, 2022

pull-request: write permission

Or generating an access token for PRs with the required permissions

@ShaMan123 ShaMan123 added the task label Oct 13, 2022
@ShaMan123
Copy link
Contributor Author

Needed for all actions that do something on the repo such as add a comment:

  • build stats

@asturur
Copy link
Member

asturur commented Aug 18, 2023

Ok i think i found something, i have to generate a new token and for build stats instead we need to actually do some pass through of the token.

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

No branches or pull requests

2 participants