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

You pushed a new workflow file and nothing appears in the Actions tab.

BeginnerTroubleshootingWorkflows Not Triggering & Invalid Files
Answer

Likely causes → File not directly in .github/workflows/ (subfolder or typo like .github/workflow/), wrong extension, YAML error, on filters do not match the push, or Actions disabled for the repo.

Diagnose →

git ls-files .github/workflows
actionlint .github/workflows/ci.yml
gh api repos/ORG/REPO/actions/permissions --jq .enabled

Fix → Move the file to .github/workflows/, fix the YAML, broaden filters, or enable Actions in Settings.

Prevent → Run actionlint in pre-commit and in CI for .github/** changes.

All GitHub Actions questions Roadmap: GitHub Actions

More on Workflows Not Triggering & Invalid Files