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

Update usage example for PRs originating in forks #87

Closed
msfjarvis opened this issue Jan 3, 2023 · 2 comments
Closed

Update usage example for PRs originating in forks #87

msfjarvis opened this issue Jan 3, 2023 · 2 comments

Comments

@msfjarvis
Copy link

GitHub severely limits what access the default GITHUB_TOKEN for a PR originating from a fork has, which prevents the default configuration of this action from successfully posting the report as a PR comment. You can see an example failure here.

The README should be updated so that the example also works for this scenario.

@mi-kas
Copy link
Owner

mi-kas commented Jan 3, 2023

Thanks @msfjarvis for pointing this issue out! I am afraid that github only allows read access for pull requests from
public forked repositories and unfortunately there is no way arround this (see permissions for Maximum access for pull requests from public forked repositories here: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token).

I will update the readme and mention this limitation.

@mi-kas
Copy link
Owner

mi-kas commented Feb 7, 2023

Closed by 44e3c05

@mi-kas mi-kas closed this as completed Feb 7, 2023
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