🎓 A1Learner
🔍
0 of 50 lessons completed

GitHub Actions: Why Isn't My Workflow Running?

A workflow that never runs is almost never a broken GitHub. A quiet cause is stopping it before it starts.

The wrong folder

A file in .github/workflow is never seen. The Actions tab stays empty.

.github/workflow/ci.yml

The right folder

Workflows live in the plural folder, under the repo root.

.github/workflows/ci.yml

A filter that excludes the push

This workflow runs only for app.js. A README-only push starts nothing.

on:
  push:
    paths: ['app.js']

A skipped commit

The words [skip ci] in a commit message stop the run for that push.

Fix typo [skip ci]

The silent checklist

Work through the list in order. Most silent workflows fail the first check.

Folder, branch, filters, message, token, settings

Example

name: Checklist
on: push
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v7
      - uses: actions/setup-node@v7
        with:
          node-version: '24'
      - run: npm test

Key points

  • Check the folder name first: it must be .github/workflows, plural.
  • Check the branch: the workflow file must be on the default branch.
  • Check the filters: a branch, tag, or path filter may exclude the push.
  • Check the commit message: [skip ci] in it tells GitHub to skip the run.
  • Check who pushed: a push made with the automatic token starts no new run.
  • Check the repo settings: Actions can be switched off for a repo.

In this example, the workflow is saved as .github/workflows/checklist.yml. It is the small workflow to run once the cause is fixed. The file sits in the right folder, on the default branch, with no filters and no [skip ci] in the commit message. The test job fetches the code, sets up Node 24, and runs the tests. The output shows both tests passing.

Try it Yourself

Edit the code, then press Run.

Running is simulated · Rust Playground

Exercise

A workflow file is saved in .github/workflow/ci.yml. What does the reader see in the Actions tab?