-
Notifications
You must be signed in to change notification settings - Fork 210
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 Resource not accessible by integration #236
Comments
The reason for this is issue #214 , the automation does not have enough rights to your repository. ...
steps:
- id: automerge
name: automerge
uses: "pascalgn/[email protected]"
permissions:
contents: write
... |
I've updated the README and closed #214, so I think this one can also be closed. |
Thanks @pascalgn ; I hope it fixes it. I forget now where I was trying this. Did you see where I asked:
Is that just assumed to be the repository, or if the error's on write, maybe it was worth logging what was refused? It's kinda frustrating to see "something was refused" with no real way to find out what :( |
Oh, wait, my failure already had permissions: check my copy of config above:
So this workaround from #214 was already in place? Or was it incorrectly in place ? Otherwise, the thing that's there in the problem example can't fix the problem. |
I think it's not clear from the logging, but the error message comes directly from GitHub. If you search for |
I'm getting the same problem... using the above fairly vanilla workflow. Did anyone get this to work? I'm on the free account so trying to use this to auto-merge after tests have been run, as that appears to be a feature reserved for paying customers ;). Don't know if that's material or not. |
random note: while I haven't gotten the above to work, I did get the following to work using my own personal GH token, not the default one. So perhaps a permission problem.
YMMV. Thanks! |
With slight changes from the example config, my PRs are seeing this failure message at subject:
ERROR Resource not accessible by integration
Config
Detected Labels
Failing Log
It would be awesome if the inaccessible
Resource
was named or identified I think; can you suggest what else I can try?The text was updated successfully, but these errors were encountered: