Skip to content

chore(ci): use cancel-in-progress to prevent useless CI runs#818

Merged
jansegre merged 1 commit intomasterfrom
chore/ci-cancel-in-progress
Oct 18, 2023
Merged

chore(ci): use cancel-in-progress to prevent useless CI runs#818
jansegre merged 1 commit intomasterfrom
chore/ci-cancel-in-progress

Conversation

@jansegre
Copy link
Member

Motivation

Very often we will push a new commit to a PR (recent rebase or otherwise) while the CI is still running and will continue to run wasting CI time and jamming the jobs queue.

Acceptance Criteria

  • Use cancel-in-progress config to automatically cancel workflow runs when a new one in the same "ref" (branch or tag) starts.

Checklist

  • If you are requesting a merge into master, confirm this code is production-ready and can be included in future releases as soon as it gets merged

@jansegre jansegre self-assigned this Oct 18, 2023
@jansegre jansegre requested a review from msbrogli as a code owner October 18, 2023 16:24
@jansegre jansegre force-pushed the chore/ci-cancel-in-progress branch from 05f1f23 to a9ca730 Compare October 18, 2023 16:28
@jansegre
Copy link
Member Author

@jansegre jansegre requested a review from glevco October 18, 2023 16:30
@jansegre jansegre merged commit 4f2da10 into master Oct 18, 2023
@jansegre jansegre deleted the chore/ci-cancel-in-progress branch October 18, 2023 16:37
@jansegre jansegre mentioned this pull request Nov 13, 2023
2 tasks
This was referenced Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants