Systemic CI Failure
Affected workflows: Issue Sync (Label PR from Conventional Commit), Code Review Monitoring & Auto-Fix
Affected PRs: All open PRs (batch1, batch2, batch3, batch4, and others)
Error: GraphQL: Resource not accessible by integration (addLabelsToLabelable) and HttpError: Resource not accessible by integration
Root Cause
The GitHub Actions token (GITHUB_TOKEN) used in these workflows lacks issues: write and/or pull-requests: write permissions. This prevents:
- Applying labels to PRs via GraphQL
- Posting comments on PRs/issues
Evidence
- Run 22811519068 (batch4): Label step fails with
addLabelsToLabelable: Resource not accessible by integration
- Run 22811526019 (batch1): Comment step fails with
HttpError: Resource not accessible by integration
- Same error pattern on batch2, batch3 runs
Fix
Add explicit permissions to the affected workflow files:
permissions:
issues: write
pull-requests: write
contents: read
Check .github/workflows/issue-sync.yml and .github/workflows/code-review-monitor.yml (or equivalent filenames).
Systemic CI Failure
Affected workflows: Issue Sync (Label PR from Conventional Commit), Code Review Monitoring & Auto-Fix
Affected PRs: All open PRs (batch1, batch2, batch3, batch4, and others)
Error:
GraphQL: Resource not accessible by integration (addLabelsToLabelable)andHttpError: Resource not accessible by integrationRoot Cause
The GitHub Actions token (
GITHUB_TOKEN) used in these workflows lacksissues: writeand/orpull-requests: writepermissions. This prevents:Evidence
addLabelsToLabelable: Resource not accessible by integrationHttpError: Resource not accessible by integrationFix
Add explicit permissions to the affected workflow files:
Check
.github/workflows/issue-sync.ymland.github/workflows/code-review-monitor.yml(or equivalent filenames).