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

Pushing a release tag did not trigger the `on: push: tags: ['v*']` workflow.

IntermediateTroubleshootingWorkflows Not Triggering & Invalid Files
Answer

Likely causes → The tag was created by a workflow using GITHUB_TOKEN (no new runs), more than three tags were pushed at once, the tag name does not match the glob, or the workflow file does not exist at the tagged commit.

Diagnose →

git ls-remote --tags origin | tail
git show v1.4.0:.github/workflows/release.yml | head
gh api repos/ORG/REPO/git/refs/tags/v1.4.0

Fix → Push tags individually (git push origin v1.4.0), create tags with a GitHub App token, or dispatch the release workflow explicitly.

Prevent → Use release-please or a release workflow that calls downstream workflows with workflow_call.

All GitHub Actions questions Roadmap: GitHub Actions

More on Workflows Not Triggering & Invalid Files