-
-
Notifications
You must be signed in to change notification settings - Fork 36
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 #47
Comments
I've also just recently started seeing this, for example on this run. Presumably this is due to a change or bug at GitHub? |
oh good, I'm happy to hear it's not just me.
Yes, that would be my guess as well. However I don't work with the APIs that much, so really don't know what sort of bug to report (and if they'll even care). It doesn't help that the problem seems to be intermittent. In any case, any help debugging this, or insight into how it can be debugged would be greatly appreciated. I'm really simply out of my depth here. |
Never had the issue before, but on the first run after switching from Tried changing the access token, but didn't help. Reverted back to |
The error could be caused by a missing permission, v5 also processes discussions by default. Please try declaring the new permission in your workflow file, or disable the processing of discussions. Add the new permission to process discussions: permissions:
issues: write
pull-requests: write
discussions: write Alternatively you could disable the processing of discussions, in that case the new permission will not be needed: steps:
- uses: dessant/lock-threads@v5
with:
process-only: 'issues, prs' |
@dessant thanks, that was an important hint. fixed my failing runs 👍 Sorry for not reading better, I missed the BC in the Changelog: |
Thank you, this was also the problem for me. Apologies for missing this in the release notes. I would have found it easier to debug if the "Resource not accessible by integration" error message included which resource was not accessible? Maybe a bit of extra logging in the case of an error here would help? Thank you again for your work and the fast response! |
Thanks guys, I'll give the permissions addition a try. I also agree, it would be really helpful to know what the "resource" referred to in the error. |
Periodically (and I have no idea why yet) I'm getting this error message:
Example workflow: https://github.com/containers/podman/actions/runs/8413040871/job/23034670057
This is happening on several repos where this (same) workflow is re-used. Again, some times it runs fine, no problem. Other times it gives this error. No repository settings are changing between success/failure. Any idea what might be going on or where to look further?
The text was updated successfully, but these errors were encountered: