Interview Prep/GitHub Actions/Workflows Not Triggering & Invalid Files

`Error: Unable to resolve action 'actions/[email protected]', unable to find version 'v5.9'`

BeginnerTroubleshootingWorkflows Not Triggering & Invalid Files
Answer

Likely causes → The tag, branch or SHA does not exist (typo or invented version), or the SHA was a short SHA (only full 40-character SHAs are accepted for pinning).

Diagnose →

gh api repos/actions/checkout/tags --jq '.[].name' | head
gh api repos/actions/checkout/commits/<sha> --jq .sha

Fix → Use an existing tag or the full SHA.

Prevent → Let Dependabot or Renovate manage action versions.

All GitHub Actions questions Roadmap: GitHub Actions

More on Workflows Not Triggering & Invalid Files