What this error means
A step tried to write to the repository — a comment, a push, a release — with a GITHUB_TOKEN that only has read access.
Why it happens
The step called the GitHub API with the workflow’s GITHUB_TOKEN, and that token is not allowed to touch the resource — often writing contents, pull requests, or checks.
The message tools print
HttpError: Resource not accessible by integrationHow to fix it
- Add a permissions block to the workflow (contents: write, for example) for the job that needs it.
- Or allow read and write workflow permissions in the repository’s Actions settings.
Check a log that shows this
Paste the failing step into the build error explainer. It matches this message, and any others in the same log, in your browser. Nothing is uploaded.
