Interview Prep/GitHub Actions/Deployments, Environments & Releases

Release workflow `gh release create` fails with `HTTP 403: Resource not accessible by integration`

BeginnerTroubleshootingDeployments, Environments & Releases
Answer

Likely causes → Missing contents: write.

Diagnose → "GITHUB_TOKEN Permissions" in the log.

Fix → Add permissions: contents: write to the release job only.

Prevent → Template release workflows with correct permissions.

All GitHub Actions questions Roadmap: GitHub Actions

More on Deployments, Environments & Releases