The workflow can build and test successfully, but the release job fails when it tries to publish attestations or update release metadata with a narrower token scope.
GITHUB_TOKEN read-only default blocks release provenance upload
The workflow can build and test successfully, but the release job fails when it tries to publish attestations or update release metadata with a narrower token scope.
Scenario
What to check first
- Identify the primary failure signal in the Workflow Permissions scenario.
- Separate visible symptoms from the underlying technical dependency.
- Describe the safest recovery path and the follow-up prevention work.
Checking checklist
- Summarize the current impact and the last known change.
- Collect direct evidence from logs, runtime state, and configuration before changing anything.
- Separate immediate recovery from permanent prevention work.
Recovery and prevention
Choose the smallest safe recovery action first, then record the prevention work that reduces repeat incidents.
Questions worth viewing together
Read the repository default permissions and the job-level override together before switching authentication methods.
Similar cases seen in the field