Skip to content

Conversation

pmikolajczyk41
Copy link
Member

For 4 workflows: CI, CodeQL, Docker build CI and Check Submodule Pins, if the corresponding git ref is updated we cancel the old runs.

Why cancel in general? To save resources and abandon unnecessary computation.
Why these jobs? Each of these jobs takes at least few minutes to run (considered as heavy).
Why is it safe? None of these jobs do any release or a work where cancellation might yield unexpected results. They are purely build/test/read-only jobs.

closes NIT-3843

@eljobe eljobe assigned pmikolajczyk41 and unassigned eljobe Sep 23, 2025
@pmikolajczyk41
Copy link
Member Author

cancellation works as expected
image

@eljobe eljobe added this pull request to the merge queue Sep 23, 2025
Merged via the queue into master with commit f630ba1 Sep 23, 2025
19 of 20 checks passed
@eljobe eljobe deleted the pmikolajczyk/cancel-ci branch September 23, 2025 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants