-
Notifications
You must be signed in to change notification settings - Fork 339
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
"Resource not accessible by integration" #10
Comments
This happens as soon as the person creating the PR does not have permission to the repository. I've been all day with this, and there does not seem to be a solution. Same problem as here actions/labeler#12. |
Eh? Actions run under their own credentials, not as a user?? |
Actions run as an user, but when they are running in a fork there are potential security problems, so they are degraded to "read-only" |
I'm confused. This is an action configured in the main repo for a PR in the main repo? |
Oh, PR events are sent to the fork under the source branch, not to to the target repo/branch? |
Ok, github needs to fix this. I'm facing the same thing while trying to create an action. |
We faced similar issue when trying to use greeting for Airflow project (https://github.com/apache/airflow). So we developed a Github app which is working well for us in case someone faces similar issue: |
Is this the same issue as with If so, can the same solution also be applied (at least as a stopgap)? Very frustrating that Github seems to push these actions hard in their UI but then they don't work with the most common use case on GitHub for OSS projects. |
Getting this too: https://github.com/unidoc/unipdf/pull/269/checks?check_run_id=486244746 |
Yes, very good point also. Not all actions are created equal (in that they should kill the whole workflow from moving forward). |
the same issue also here - https://github.com/PyTorchLightning/pytorch-lightning/pull/1101/checks?check_run_id=496573752 |
Anyone alive here: Is this the same issue as with I added this to a project but I guess I'm about to rip it out - the use case seems extremely limited - not at all suited for large OSS projects with many contributors. And those are exactly the projects where this type of thing would be most helpful. |
Unfortunately this is not specific to a given action / repository. Anyone hit by this, please read this long comment I wrote and feel free to upvote it. |
Because a creator of PR not have write permission on repository, this actions fail on all the PR created by community. This bug it is related on actions/first-interaction#10
Because a creator of PR not have write permission on repository, this actions fail on all the PR created by community. This bug it is related on actions/first-interaction#10
According to actions/first-interaction#10 (comment), this should fix the issue with the failing of pytest on pull requests from forks.
Should resolve "Resource not accessible by integration" error message. actions/first-interaction#10 (comment)
I had the same issue executing the Zap Action code scan with docker config: https://github.com/zaproxy/action-api-scan |
…ccess to our repo Relevant read: Resource not accessible by integration actions/first-interaction#10 (comment) actions/first-interaction#10 (comment) Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
…ccess to our repo Relevant read: Resource not accessible by integration actions/first-interaction#10 (comment) actions/first-interaction#10 (comment) Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
I have crossed this problem and the solution was nothing but ironic. I tried setting extra permissions but in my case the action doesn't need it at all. I believe the id-token was messing everything and in my case, I removed that whole permissions block which no other action uses it and voila.
Sources: |
Should resolve "Resource not accessible by integration" error message. actions/first-interaction#10 (comment)
https://github.com/ppb/pursuedpybear/pull/359/checks?check_run_id=211188070
https://github.com/ppb/pursuedpybear/blob/master/.github/workflows/greetings.yml
The text was updated successfully, but these errors were encountered: