- Symptom
- 403 Resource not accessible by personal access tokenOther files commit fine with the same token
- Cause
- Writing files under .github/workflows requires the workflow scope on the token.
- Fix
- Use a token with the workflow scope, or commit the workflow by hand.
- Apply
Classic PAT: tick workflow. Fine-grained PAT: Repository permissions > Workflows: Read and write- Affected
- GitHub REST API, August 2026
Last verified 2026-08-26 · Confirmed by 0 builders