Interview Prep/GitHub Actions/Permissions, Tokens & Secrets

A workflow can no longer cancel or re-run other workflows: `Resource not accessible by integration` on the actions API.

IntermediateTroubleshootingPermissions, Tokens & Secrets
Answer

Likely causes → Missing actions: write after switching to restricted default permissions.

Diagnose → Check the API call and permissions.

Fix → Add permissions: actions: write to that job only.

Prevent → Inventory which jobs use which APIs when tightening defaults.

All GitHub Actions questions Roadmap: GitHub Actions

More on Permissions, Tokens & Secrets