GitHub: a check on the pull request was cancelled
A check run with the conclusion cancelled was cancelled before it completed, and one with stale was marked stale by GitHub because it took too long (GitHub's check statuses and conclusions, checked October 27, 2026). Required status checks must have a successful, skipped, or neutral status, so a required check that was cancelled or went stale blocks the merge until it runs again and passes (GitHub's require status checks before merging).
A cancelled job can show these lines in the workflow run. The first is left by a newer run in the same concurrency group (GROUP is the group's name). Both are quoted from public reports in 2026 (chipsalliance/caliptra-rtl#1503, Morrison-Lab/gha#1144):
Canceling since a higher priority waiting request for GROUP exists The operation was canceled.
Why it was cancelled
- A newer run in the same concurrency group: with
concurrency, at most one job or workflow run in a group runs at a time. By default, any existing pending job or run in the same group is canceled and the new one takes its place; withcancel-in-progress: true, the one in progress is canceled too, so a group such asci-${{ github.ref }}cancels the previous run when a new commit is pushed to the branch. Withqueue: max, up to 100 runs can wait, and any more are canceled (GitHub's control the concurrency of workflows and jobs). - A group name shared by two workflows: concurrency group names must be unique across workflows; otherwise a run of one workflow cancels the in-progress or pending jobs of the other.
${{ github.workflow }}-${{ github.ref }}cancels only runs of the same workflow. - A group for pull requests only:
github.head_refis defined only onpull_requestevents, so a workflow that also runs on other events needs a fallback value to avoid a syntax error. Withgroup: ${{ github.head_ref || github.run_id }}andcancel-in-progress: true, in-progress jobs or runs are cancelled onpull_requestevents only; on other events the group falls back to the run ID, which is unique to the run (GitHub's using a fallback value). - Someone cancelled the run: Cancel workflow, in the upper-right corner of a queued or in-progress run on the Actions tab, cancels the run, including all jobs and steps (GitHub's canceling a workflow run). Jobs whose
ifcondition evaluates to true, such asif: always(), keep running; after the 5-minute cancellation timeout, GitHub forcibly terminates the jobs and steps still running (GitHub's workflow cancellation reference). - The job ran out of time: a GitHub Actions job that runs longer than its
timeout-minutes(360 if none is set) is cancelled by GitHub (GitHub's workflow syntax). To tell the job limit from a step's and choose which one to change, see GitHub Actions: "The job has exceeded the maximum execution time". - Stale: only GitHub can set the conclusion
stale; an app that reports a check cannot (GitHub's REST API endpoints for check runs). - Which one it was: a GitHub Actions job stopped for any of these reasons ends with
The operation was canceled., which does not say why. A second annotation on the same job does; open the run's summary page and look at the Annotations box (see GitHub Actions: "The operation was canceled"). - Hearing about it: with email or web notifications for GitHub Actions turned on, you get a notification when a workflow run you triggered completes, with its status, including successful, failed, neutral and canceled runs; you can also choose to be notified only when a run has failed (GitHub's notifications for workflow runs).
- Another job in the matrix failed: with
strategy.fail-fast, which defaults totrue, GitHub cancels all in-progress and queued jobs in the matrix if any job in the matrix fails, so one failing version can leave the others showing as cancelled. Setfail-fast: falseto let the others finish, or give a jobcontinue-on-error: trueso that the other jobs in the matrix keep running when it fails (GitHub's strategy.fail-fast and continue-on-error).
To see which checks were cancelled: Pull Request Inbox for GitHub, a plugin for JetBrains IDEs, lists each check on the head commit with a link to it, shows a cancelled one as Cancelled, and says that a cancelled required check blocks the merge until it runs again and passes.
What to do
- Run it again: on the Actions tab, open the workflow run and click Re-run all jobs. A workflow run can be re-run up to 30 days after its initial run (GitHub's re-running workflows and jobs).
- Find the cancelled runs:
gh run list --status cancelledlists the cancelled workflow runs,--branch BRANCHor--commit SHAnarrows them to the pull request's branch or head commit, and--limitraises the default of 20 runs (GitHub CLI's gh run list). - Waiting for the run in a script:
gh run watch RUN_ID --exit-statuswaits until the run completes and exits with a non-zero status when its conclusion is anything other thansuccess, so a cancelled run fails the command too; without--exit-status, a completed run leaves the exit code at 0 (watch.go). It does not support authenticating with fine-grained personal access tokens, as it is not currently possible to create one with thechecks:readpermission (GitHub CLI's gh run watch). - A check from another app: the rerequest endpoint asks GitHub to rerequest an existing check run without pushing new code. It sends the
check_runwebhook with the actionrerequested, and the app decides whether to run the check again (GitHub's rerequest a check run). - Keep the run you need: name the group after the workflow and the branch, and make
cancel-in-progressan expression where an older run is still worth finishing, for example on release branches. To let runs wait instead of being canceled, usequeue: max; it cannot be combined withcancel-in-progress: true. - A check that never reported: a required check that has not run on the head commit at all waits as Expected (see required check stuck at "Expected").
- In the GitHub CLI:
gh pr checksputs a cancelled check in the bucketcancel, notfail, and its exit code counts only failed checks (1) and pending ones (8), so when no check failed and none is pending, a cancelled check still leaves the exit code at 0.gh pr checks --json name,bucketshows which one it was. When a check ran more than once, only its most recent run is listed (gh pr checks, aggregate.go and checks.go). - Counting them in GraphQL: the contexts of a
StatusCheckRolluphavecheckRunCount, the number of check runs in the rollup, andcheckRunCountsByState, acountfor eachstateof a check run, whereCANCELLEDis a state of its own, apart fromFAILURE(StatusCheckRollupContextConnection, CheckRunState). - What a re-run uses: a re-run uses the same
GITHUB_SHAandGITHUB_REFas the original event, and the privileges of the actor who first triggered the workflow, so re-running a run that a newer push cancelled tests the older commit again. A workflow run can be re-run at most 50 times, and not while the workflow is disabled (GitHub's re-running workflows and jobs). From the command line,gh run rerun RUN_ID --failedre-runs only the failed jobs, including dependencies, and--jobtakes the job'sdatabaseIdfromgh run view RUN_ID --json jobs, not the number in the job's URL (GitHub CLI's gh run rerun). - A run that does not stop:
gh run cancel RUN_IDcancels a workflow run, and--forceforce cancels it (GitHub CLI's gh run cancel). The REST force cancel bypasses conditions that would otherwise keep the run going, such as analways()condition on a job, and is only for a run that does not respond to the normal cancel (GitHub's force cancel a workflow run).cancelled()returns true when the workflow was canceled, so a step withif: ${{ cancelled() }}runs only then (GitHub's cancelled).
In IntelliJ IDEA: a cancelled check counts as failed
Checked in the IntelliJ IDEA source on November 2, 2026: GHPRMergeabilityStateBuilder.kt, GHCommitCheckSuiteConclusion.kt, checkRun.graphql, CodeReviewDetailsStatusComponentFactory.kt, CollaborationToolsBundle.properties, GithubApiRequests.kt.
When a required check was cancelled and nothing is still running, the checks line of the pull request reads:
Checks failed Details…
The IDE counts a check run that concluded cancelled or stale as failed, the same as failure or timed_out. While another check is running, the line reads "Checks in progress, and some already failed…" instead. A cancelled check that is not required is left out once every required check has passed (GitHub: a required check stays "Expected — Waiting for status to be reported").
Details… opens a list titled Open in Browser with each check's name and an icon. A cancelled check gets the same icon as a failed one, and the word cancelled is not shown. Choosing a check opens its details URL in the browser, or the check run's page on GitHub when it has none.
The IDE has no request that runs a check again, so re-run it on GitHub as above. It reads the checks of the last commit only, so a run that was cancelled on an earlier commit is not in the list (GitHub: why the checks do not show).
GitHub pull requests in IntelliJ IDEA
Pull Request Inbox for GitHub, a plugin by Lesstep for JetBrains IDEs 2024.1 or later, shows a pull request's reviews, checks and conversations next to the diff, and merges it with the methods the target branch allows. Its merge checks list each check on the head commit, from commit statuses and check runs, with a link to its page on GitHub. A check that was cancelled shows as Cancelled, and one that went stale as Failed; neither counts as passed, and the merge checks say that a cancelled required check blocks the merge until it runs again and passes. The review inbox, diffs and conversations are free; approving, commenting, resolving and merging are Pro (US$1.50 a month, with a 30-day trial).
Get it on JetBrains Marketplace
GitHub is a trademark of GitHub, Inc.; IntelliJ IDEA is a trademark of JetBrains s.r.o. This page is not affiliated with or endorsed by GitHub, Inc. or JetBrains.
More: GitHub merge refused (405, 409) · GitHub review refused (422) · GitHub search 422 "Validation Failed" · "Resource not accessible by personal access token" · 401 "Bad credentials" · "Resource protected by organization SAML enforcement" · "API rate limit exceeded" · GitHub diff 406 "too_large", 3,000 files · GitHub line comment 422 "must be part of the diff" · GitHub branch update refused (422) · GitHub pull request not created (422, 403) · GitHub auto-merge refused · GitHub draft, ready for review or close refused · GitHub conversation not resolved · GitHub checks not shown (check runs 403) · GitHub file contents not read · GitHub compare refused (404, 422) · GitHub comment or reply refused (403 locked, archived) · GitHub merge method not allowed (405) · GitHub branch not found (404, 301) · GitHub Enterprise Server not reached · GitHub review request not shown · GitHub pull request list incomplete · GitHub 404 Not Found, renamed repositories (301, 307) · GitHub line comment outdated or not on the diff · GitHub pull requests not updating, notifications late · GitHub suggested change cannot be applied · GitHub required check stuck at "Expected" · GitHub code owner review required · GitHub merge blocked by unresolved conversations · GitHub merge blocked by unsigned commits · GitHub branch that merges through a merge queue · GitHub merge waiting for an approval of the most recent push · GitHub merge waiting for code scanning results · GitHub merge waiting for code quality results · GitHub merge blocked by a code coverage threshold · GitHub merge blocked by license compliance results · GitHub branch locked or its updates restricted · GitHub branch not deleted after merging · GitHub merge waiting for a team's approval (Required reviewers) · GitHub merge blocked by secret scanning alerts · GitHub stacked pull request not merging · GitHub push blocked by push rules · GitHub merge blocked by commit metadata rules · GitHub force push blocked · GitHub issue not closed by a merged pull request · GitHub pull request not checked out locally · GitHub pull request has merge conflicts · GitHub changes requested and dismissing a review · GitHub co-author not credited for a commit · GitHub dependency review check failed · GitHub Dependabot not rebasing its pull request · GitHub fork not syncing with upstream · GitHub pull request base branch not changing · GitHub pull request not reverting · GitHub pull request template not showing · GitHub pull request labels or assignees not added · GitHub pull request not closing or reopening · GitHub push blocked by push protection · GitHub pull request comment hidden · GitHub pull request blocked until deployments succeed · GitHub team review request replaced by members · GitHub pull request file no longer marked Viewed · GitHub pull request marked merged without being merged · GitHub Copilot review does not count as an approval · GitHub checks not running on a pull request a workflow created · GitHub Update branch button not shown on a pull request · GitHub checks failing on a Dependabot pull request · GitHub checks failing on a pull request from a fork · GitHub checks skipped by [skip ci] in a commit message · GitHub checks gone after the retention period · GitHub code review limits in a public repository · GitHub pull requests turned off or limited in a repository · GitHub checks run on every pull request in a stack · GitHub pull request showing commits already squash merged · GitHub pull request not showing a file diff · GitHub push to a pull request branch from a fork refused · GitHub Rebase and merge not available · GitHub merge commit message not what you expected · GitHub pull request shows every line changed · GitHub API request timed out · GitHub pull request image or document diff not shown · GitHub review request refused (422) · GitHub pull request from Copilot: checks not running, approval not counted · GitHub push refused: GH006 and GH013 on a protected branch · GitHub "At least 1 approving review is required", approvals that do not count · GitHub pull request plugins for IntelliJ IDEA, compared · 日本語