Skip to content

Home / Blog / Runners and limits

Why does a pull request say "Expected — Waiting for status to be reported"?

"Expected — Waiting for status to be reported" means a required check never reported. Five causes, from a renamed job to a path filter, and the fixes.

“Expected — Waiting for status to be reported” on a pull request means a branch rule requires a check by a name that nothing has reported for the latest commit. GitHub waits for it for ever. Of the 5 causes below, two common ones are a required name left over from a job that was renamed or removed, and a workflow skipped by a path filter. Fix the list of required checks, or make the check always report.

In short
  • A branch rule requires a check by a name that nothing has reported for the latest commit.
  • Required checks are names in the repository's settings, not links to workflow files, so renaming a job leaves the old name waiting.
  • A workflow skipped by a path filter, a branch filter or a commit message leaves its checks pending.
  • A job skipped by an if condition reports success, so filter inside the workflow instead.
  • Only runs from 6 events count for a pull request; workflow_dispatch is not one, and a merge queue needs merge_group.

Nothing is running, so there is nothing to cancel or re-run, which is what makes this one confusing. This post covers what the line means, the five causes in the order to check them, how to tell them apart, and the changes that stop it coming back.

What does “Expected — Waiting for status to be reported” mean?

A required status check is a name in the repository’s branch protection rule or ruleset. It is not a link to a workflow file. For each pull request GitHub looks for a check with exactly that name on the latest commit, and GitHub’s troubleshooting page says checks from earlier commits do not count. While no such check exists, the pull request shows the name with “Expected” beside it. The marked answer in the GitHub Community discussion about this message, with 80 thumbs-up, makes the point that matters: the list of required checks lives in the settings, apart from the workflow files, so changing a workflow does not change the list.

What causes it?

CauseWhat points to itThe change
The required name is one no job reportsA job or workflow was renamed or removed; a matrix was addedEdit the required checks to the names that report now
The workflow was skippedA paths or branches filter, or a skip instruction in the commit messageDo not require a workflow that can be skipped
The workflow ran on the wrong eventIt runs on workflow_dispatch or schedule only; a merge queue without merge_groupTrigger it on pull_request, and merge_group for a queue
The pull request has a merge conflictGitHub shows the conflict; no run started for the pushResolve the conflict
A check left over after a force-pushEarlier jobs were still running when the branch was rewrittenClose and reopen the pull request

1. The name no longer exists. Somebody renamed a job, gave it a name, deleted it or moved it to another workflow, and the rule still asks for the old name. Adding a matrix does it too: a commenter in the discussion points out that a matrix job’s check name has its parameters appended in brackets, so test becomes test (20) and the plain name is never reported. Another found the rule was on the wrong branch.

2. The workflow was skipped. GitHub’s documentation says a workflow skipped by a path filter, a branch filter or a skip instruction in the commit message leaves its checks pending, and a pull request that requires them is blocked. Its own example is a workflow with paths: scripts/**: a pull request that changes only a file in the root never starts it, and is blocked with this message. The post on the required check trap in a monorepo goes through this case in full.

3. The workflow ran, on an event that does not count. GitHub evaluates a workflow job’s check for a pull request only when the run was triggered by one of six events: push, pull_request, pull_request_review, pull_request_target, deployment or deployment_status. A run started by workflow_dispatch on the same commit can pass and still not satisfy the rule. A merge queue needs the separate merge_group event.

4. The pull request has a merge conflict. GitHub’s events reference says workflows do not run on pull_request activity while the pull request has a merge conflict. No run starts, so no check reports.

5. A check left over after a force-push. A commenter with 10 votes describes checks that stay waiting after a commit is amended and force-pushed while the earlier jobs are still running. Re-running the jobs and force-pushing again did not clear it for them.

How do I tell which one I have?

In the merge box at the foot of the Conversation tab, compare the names marked Expected with the names that did report on the latest commit (the Checks tab lists only the checks that ran). If a reported name is close to the expected one but not the same, it is cause 1. If the workflow that should report the name has no run at all for this commit, look at its on: block for filters, cause 2, and at the pull request for a conflict, cause 4. If it has a run, check which event started it, cause 3.

How do I fix it?

For cause 1, edit the rule: Settings, then Branches or Rules, and replace the old names with the ones that report now. That is the marked answer’s whole fix. For cause 2, GitHub’s advice is to avoid requiring a workflow that can be skipped. The alternative that keeps the saving is to let the workflow always start and skip the job inside it, because GitHub’s table says a job skipped by a condition reports success:

on:
  pull_request:      # no paths filter here, so the check always reports

jobs:
  changes:
    runs-on: ubuntu-latest
    outputs:
      scripts: ${{ steps.diff.outputs.scripts }}
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - id: diff
        run: |
          if git diff --name-only "origin/${{ github.base_ref }}...HEAD" | grep -q '^scripts/'; then
            echo "scripts=true" >> "$GITHUB_OUTPUT"
          fi
  build:
    needs: changes
    if: needs.changes.outputs.scripts == 'true'
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: make build

For cause 3, add pull_request to the workflow’s triggers, and merge_group if the branch uses a merge queue; the post on merge queues covers what that event runs. For cause 4, resolve the conflict. For cause 5, close the pull request and reopen it at once (9 votes in the discussion), which starts its pull request workflows again; pushing again did not help the commenter who described this case. A different, transient case, where the workflow simply did not run, was cleared by pushing again: an amended commit force-pushed (21 votes) or an empty one.

Can a check be selected as required if it has never run?

Not straight away. GitHub’s troubleshooting page says a required status check must have completed successfully in the repository during the past seven days. So after renaming a job, run it once on a branch before you go looking for the new name in the rule’s search box.

A check that is waiting because no runner picked the job up is a different state: the job exists and says queued, which the post on runs stuck on queued, pending or waiting covers. The message in this post is decided by GitHub’s rules and the workflow’s triggers before any runner is involved, so it is the same on any runner, ours included. Every size we run, with its memory, disk and rate a minute, is on our managed GitHub Actions runners page.

Sources

Frequently asked questions

Why does a pull request say "Expected — Waiting for status to be reported"?

A branch rule requires a check by a name that nothing has reported for the latest commit, and GitHub waits for it. Two common causes are a required name left over from a renamed or removed job, and a workflow skipped by a path filter.

What causes it?

The required name is one no job reports any more; the workflow was skipped by a path filter, a branch filter or a commit message; it ran on an event that does not count; the pull request has a merge conflict; or a check was left over after a force-push.

How do I fix it?

Edit the required checks to the names that report now. Do not require a workflow that a filter can skip: let it always start and skip the job with an if, because a skipped job reports success. Add pull_request, and merge_group for a merge queue.

Can a check be selected as required if it has never run?

Not straight away. GitHub says a required status check must have completed successfully in the repository during the past seven days, so run a renamed job once before looking for its new name in the rule.

Move your CI onto our runners with one line

Change one line, watch your own build, then decide.

Connect GitHub

Card required: a $5.00 authorisation, released at once and never charged. 3,000 minutes a month at 2 vCPU are included.

.github/workflows/ci.yml
jobs: test:removed: runs-on: ubuntu-latestadded: runs-on: runnersio-4vcpu-ubuntu-latest steps: - uses: actions/checkout@v4 - run: make testadded: build:added: runs-on: runnersio-32vcpu-ubuntu-latest