GitHub Actions "Canceling since a higher priority waiting request exists"
A concurrency group with cancel-in-progress canceled this run because a newer run entered the same group. This is the intended behavior of cancel-in-progress, but it surprises teams who expected both runs to finish.
What this error means
A run ends early reporting it was canceled because a higher-priority waiting request exists in its concurrency group.
github-actions
Canceling since a higher priority waiting request for 'ci-refs/heads/main' exists
##[error]The operation was canceled.Common causes
cancel-in-progress with a shared group
A newer push or event mapped to the same concurrency group and, with cancel-in-progress true, superseded the in-flight run.
Group key too broad
A group expression that does not include the ref or PR number lumps unrelated runs together, so they cancel each other.
How to fix it
Scope the group and choose cancel behavior
- Make the concurrency group key unique per ref or PR so unrelated runs do not collide.
- Set cancel-in-progress intentionally: true for fast feedback on the latest commit, false to let deploys finish.
- Re-run.
.github/workflows/ci.yml
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: trueHow to prevent it
- Include the ref or PR number in concurrency group keys.
- Set cancel-in-progress to false for deploy workflows that must complete.
Related guides
GitHub Actions step killed because timeout-minutes was exceededFix the GitHub Actions error where a step or job is forcibly terminated because it ran past its timeout-minut…
GitHub Actions "The operation was canceled"Understand GitHub Actions "The operation was canceled" - a job stopped early by a cancel request, concurrency…