-
Notifications
You must be signed in to change notification settings - Fork 5
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
Error: HttpError: Resource not accessible by integration Stack: HttpError: Resource not accessible by integration #53
Comments
hi @timnolte can link the workflow or copy and paste it here for me to look into it? |
Here is the workflow: Here is a recent failure on a PR from a fork: |
sadly this looks like a limitation that github puts on the default tokens, where workflows running on forks will only have read permissions. because of that this error is thrown when the action tries to comment (write) on the pull request. you can still see the report on the step summary, and min/max rules will still affect the pull request. if you really need the comment, then you could use a PAT, but that become a risk because of the i tried to explain this here (i would appreciate if y'all reviewed the text): comment-coverage-clover/README.md Lines 159 to 171 in c7597f6
i also added a new option on the action called |
Ah, OK, I sort of suspected that this could be related to GitHub permissions and requiring the use of a PAT. I like the idea of having the skip on forks option. This would allow us to keep the action in place and still get some value out of it. I was wanting to reduce the need for external services so was going to drop considering the use of CodeCov. |
i created a new release with the changes, if you spot some problem or anything reach again |
When people open up Pull Requests from a fork my unit testing step fails with the following error. Pull requests opened from branches within the same repository work fine.
The text was updated successfully, but these errors were encountered: