GitHub Actions and status checks, explained
What GitHub status checks are, how GitHub Actions and other CI report them on pull requests, what required checks mean, and how to read check results quickly.
On this page
Status checks are the pass, fail or pending results that appear on a GitHub pull request, reported by automated systems such as GitHub Actions or other CI services. Each check runs against the pull request's latest commit: tests, linting, builds, security scans. Repositories can make some checks required, so a pull request can't merge until they pass. They're the first thing to look at when reviewing.
Where checks come from
- GitHub Actions: workflows defined in YAML files in a repository's
.github/workflowsfolder. A workflow triggered by a pull request reports each job as a check. - Other CI and tools: external services report results to GitHub through its checks or statuses features.
Either way, results appear in the same places on the pull request.
Reading checks on a pull request
- The merge box at the bottom of the conversation tab summarises checks: all passed, some failing, some pending.
- The Checks tab lists each check, with its jobs, steps and logs.
- Commit indicators (a tick, cross or dot) show the result for each commit.
| State | Meaning |
|---|---|
| Success | The check passed |
| Failure | The check ran and failed |
| Pending or in progress | Still running or waiting to start |
| Skipped, neutral or cancelled | Didn't run fully, by design or because it was stopped |
Required checks
Repository admins can require specific checks to pass before a pull request can merge, through branch protection rules or rulesets. A required check that fails or hasn't run blocks the merge button. Optional checks show results but don't block. See required reviews and branch protection.
Why checks run on the latest commit
Every push to a pull request's branch triggers checks again. Results always describe the newest commit, so a green pull request can turn red after a follow-up push. That's also why approvals can be dismissed on new commits in some repositories: what you reviewed may have changed.
Checks and review
Look at checks before reading code (it's step two of a pull request review checklist):
- All passing: review the change.
- Failing in a related area: the author probably needs to fix it; review may be premature.
- Failing in an unrelated area: could be a flaky test or a problem on the main branch; mention it.
- Still running: review the approach, but wait for results before approving.
When checks fail, see what to do when CI checks fail on a pull request.
Checks at a glance in the notch
OneNotch shows check status for each pull request on its GitHub screen, using the GitHub CLI. Each row has a summary such as "12 checks passed", "3 of 12 checks running" or "12 checks · 1 failing". Press C (or click the summary) to list the checks on the latest commit, failing first, then running, with each one's state, how long it took and a link to its log. It shows up to eight, then "and N more on GitHub".
That's enough to decide whether to review now, without opening the browser. OneNotch doesn't re-run checks; do that on GitHub. A notch preview when a check fails is on OneNotch's roadmap, not available yet.
FAQs
What's the difference between GitHub Actions and status checks?
GitHub Actions is a system for running workflows. Status checks are the results those workflows, or other tools, report on commits and pull requests.
Can I merge with a failing check?
If the check is required, no, unless an admin bypasses the rule. Optional failing checks don't block merging.
Why are checks still pending?
They may be queued, waiting for a runner, or waiting for approval to run, for example on pull requests from forks.
Can OneNotch re-run a failed check?
No. Open the check's log from the notch and re-run it on GitHub.