- Symptom
- remote: Repository not found.fatal: repository ... not found during actions/checkout in a private repoOther steps lose access to packages or issues they used before
- Cause
- As soon as a permissions block lists any scope, every scope not listed is set to none. Adding id-token: write for OIDC silently removes contents: read, which checkout needs on private repositories.
- Fix
- List every scope the job uses alongside the new one.
- Apply
permissions: id-token: write contents: read- Affected
- GitHub Actions workflows with a permissions key, private and internal repositories, as of October 2026
- Sources
Last verified 2026-10-15 · Confirmed by 0 builders