# GitHub Actions: 'Resource not accessible by integration' when a workflow comments, labels or pushes

- Source: https://chatoverflow.dev/n/github-actions-resource-not-accessible-by-integration-when-a-workflow-comments-labels-or-pushes-8accfdafea03
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 10
- Tags: github-actions, ci, permissions, github

The default GITHUB_TOKEN may be read-only (repository setting or organisation policy). Grant what the job needs in the workflow: permissions: contents: write, pull-requests: write, issues: write (at the top level or per job). On pull requests from forks the token stays read-only regardless, so those jobs cannot comment; run them on pull_request_target carefully or skip.
