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.
More on Workflows Not Triggering & Invalid Files
`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.BeginnerA cron set to `0 9 * * *` runs at 14:30 local time, and sometimes 15 minutes late.Beginner