GitHub Actions scheduled workflow didn't run? How to find out, and get alerted next time

Updated 5 min read

On this page
  1. Why a scheduled workflow doesn't run
  2. Check whether it ran
  3. Step 1: Create a monitor with the same cron expression
  4. Step 2: Ping at the start and the end of the job
  5. What you'll hear about
  6. Test it
  7. FAQ
  8. Sources

A scheduled GitHub Actions workflow can skip a run without any alert, because GitHub only notifies you about runs that happen and fail. A run that is delayed, dropped under load, or never queued because the schedule was disabled sends nothing. To hear about it, have the workflow ping a heartbeat URL at the start and end of each run, and let an outside monitor alert you when the ping is late or reports a failure.

Why a scheduled workflow doesn't run

GitHub's own documentation for the schedule event lists the cases. Each one is silent:

  • Delays and drops under load. The schedule event can be delayed when GitHub Actions is busy, and the start of every hour is a busy time. If the load is high enough, some queued jobs may be dropped.
  • Inactivity in a public repository. In a public repository, scheduled workflows are disabled automatically when there has been no repository activity for 60 days.
  • Forks. When a public repository is forked, scheduled workflows are disabled in the fork by default.
  • The wrong branch. Scheduled workflows run only on the default branch, and only if the workflow file exists there. A schedule added on a feature branch never fires.
  • Timezone surprises. Schedules run in UTC unless you set a timezone, so a job you meant for 03:00 local time may be running hours away from when you look for it.

GitHub can notify you when a workflow run completes or fails, and for a scheduled workflow those notifications go to the person who created the workflow (or last changed its cron line). None of the cases above produces a run, so there's nothing to notify about.

Check whether it ran

  1. Open the repository's Actions tab, pick the workflow on the left and look at the run list. Scheduled runs show schedule as the event.
  2. If the workflow shows a banner saying it was disabled, re-enable it from the same page with Enable workflow.
  3. From the command line, the GitHub CLI lists recent scheduled runs: gh run list --workflow nightly-export.yml --event schedule.

That tells you about the past. For the next missed run, you need something outside GitHub that expects the run and notices when it doesn't show up.

Step 1: Create a monitor with the same cron expression

Sign in to Stallbell and open the monitor (Monitors in the top bar). Under Thresholds, set How it runs to On a cron schedule, enter the same five fields as the workflow's cron: line, and set Schedule timezone to UTC, or to the same zone if the workflow sets timezone:. Then press Save alert settings.

Give the Grace period room for GitHub's delays. Five minutes (the default) will page you on ordinary queueing; 30 minutes or more is a calmer starting point for a nightly job. Then copy the monitor's ping URL, which looks like https://stallbell.com/p/TOKEN.

The token in the URL is the only credential, so don't commit it. Save the whole URL as a repository secret named STALLBELL_PING_URL (Settings, Secrets and variables, Actions).

Step 2: Ping at the start and the end of the job

Add a step at the top of the job and one at the bottom. The last step uses if: always() so it runs even when an earlier step failed:

YAML
name: nightly-export
on:
  schedule:
    - cron: "17 3 * * *"
  workflow_dispatch:

jobs:
  export:
    runs-on: ubuntu-latest
    steps:
      - name: Tell Stallbell the run started
        run: curl -fsS -m 10 --retry 3 "${{ secrets.STALLBELL_PING_URL }}/start?run_id=${{ github.run_id }}-${{ github.run_attempt }}"

      - uses: actions/checkout@v4

      - name: Export
        run: ./scripts/export.sh

      - name: Tell Stallbell how it ended
        if: always()
        run: |
          if [ "${{ job.status }}" = "success" ]; then
            curl -fsS -m 10 --retry 3 "${{ secrets.STALLBELL_PING_URL }}/0?run_id=${{ github.run_id }}-${{ github.run_attempt }}"
          else
            curl -fsS -m 10 --retry 3 "${{ secrets.STALLBELL_PING_URL }}/fail?run_id=${{ github.run_id }}-${{ github.run_attempt }}"
          fi

What each part does:

PartWhy
cron: "17 3 * * *"Runs at 03:17 UTC. Picking a minute away from :00 lowers the chance of the start-of-hour delays GitHub describes
workflow_dispatch:Lets you start the workflow by hand from the Actions tab, which is how you test it
/startOpens a run, so Stallbell can alert if the job starts and never finishes
run_id=...Joins the start and the finish into one run. github.run_attempt keeps a re-run separate from the first attempt
/0 and /fail/0 reports success. /fail reports a failure, and so does any code from 1 to 255
if: always()Runs the last step after a failed step too, so failures are reported, not just successes

What you'll hear about

  • The schedule didn't fire (delayed past the grace period, dropped, disabled, wrong branch): no ping arrives, so you get a Missed run alert. Stallbell starts watching for missed runs after the first check-in, so trigger one run by hand first.
  • A step failed: the last step sends /fail and you get a Failed run alert.
  • The job hung until GitHub's own job timeout: the start ping arrived but no finish did, so you get a Stuck run alert after the monitor's Stuck after time (1 hour by default). Set it a little above the job's slowest normal run.

Alerts go by email, Slack or a signed webhook, and you get a message when the next run succeeds.

Test it

  1. Run the workflow by hand: Actions, pick the workflow, Run workflow. The monitor page should list the run under Recent runs.
  2. Change the export step to run: exit 3 for a moment, run the workflow by hand again, and check that a Failed run alert arrives. Then change it back.
  3. To see a missed run without waiting a day, set the monitor to a short cron schedule such as */15 * * * * with a 5-minute grace period, don't run anything, and wait. Put the real schedule back afterwards.

FAQ

Does GitHub email me when a scheduled workflow doesn't run? No. GitHub's workflow notifications are about runs that completed or failed. A run that never started produces nothing to notify about, which is why an outside check that expects the run is needed.

What's the shortest schedule GitHub Actions supports? GitHub's docs say the shortest interval for scheduled workflows is once every 5 minutes.

Can I use the ping URL directly instead of a secret? It works, but anyone who can read the workflow file can then check in for your monitor. A secret keeps it out of the repository. You can rotate the token from the monitor page if it leaks.

What does it cost? There's a Free plan with no card. Plans and limits are on the pricing page.

Related: What is heartbeat monitoring? · Detect stuck jobs · How to monitor cron jobs

Sources

GitHub's behaviour on this page comes from GitHub's own docs, read on 9 November 2026:

Stallbell's side comes from the docs.