`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.
More on Workflows Not Triggering & Invalid Files
You pushed a new workflow file and nothing appears in the Actions tab.Beginner`Invalid workflow file: .github/workflows/ci.yml#L14 You have an error in your yaml syntax on line 14`Beginner`The workflow is not valid. .github/workflows/ci.yml (Line: 9, Col: 5): Unexpected value 'steps'`BeginnerThe workflow runs on push to `main` but never on pull requests.BeginnerThe "Run workflow" button for `workflow_dispatch` does not appear.BeginnerA scheduled workflow stopped running weeks ago, no errors.Beginner