- Symptom
- HttpError: Resource not accessible by integration403 from gh pr comment, gh release create, or actions/github-scriptThe same workflow works in an older repository
- Cause
- New personal repositories, and repositories in organizations with the restricted default, give GITHUB_TOKEN read only access to contents and packages. Write calls need the permission granted in the workflow or the repo setting.
- Fix
- Grant the exact write scopes in a permissions block on the job.
- Apply
permissions: contents: write pull-requests: write issues: write- Affected
- GitHub repositories using the restricted Workflow permissions default (personal repos and many org repos), as of October 2026
- Sources
Last verified 2026-10-15 · Confirmed by 0 builders