You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Why is my job cancelling when I have 'cancel-in-progress' set to false? #3722
This workflow runs as devs create PRs, seems very frequently that if two jobs are waiting around, one of jobs in the ios-appium-test-runs groups ends up getting cancelled
I don't know how to prevent this, seems it won't cancel if it's in progress, but if a job is from another PR is "Waiting" then it will cancel another (these are PRs from two different branches BTW, I would expect a cancellation if someone pushes to the same branch causing a new run on their PR)
This means that there can be at most one running and one pending job in a concurrency group at any time. When a concurrent job or workflow is queued, if another job or workflow using the same concurrency group in the repository is in progress, the queued job or workflow will be pending. Any existing pending job or workflow in the same concurrency group, if it exists, will be canceled and the new queued job or workflow will take its place.
It might be easier to find if the docs included an example with cancel-in-progress: false explaining what will happen if a series of 3 commits come through triggering that workflow / job with the same concurrency group...
Activity
gotecq-linhdoan commentedon Mar 19, 2025
@tking16 did you find out solution? I have the same problem here
grossvogel commentedon Jan 27, 2026
This behavior is documented, if somewhat obscurely relative to its importance:
It might be easier to find if the docs included an example with
cancel-in-progress: falseexplaining what will happen if a series of 3 commits come through triggering that workflow / job with the same concurrency group...