Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cancel previous jobs in the same branch when repushing #7590

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

deivid-rodriguez
Copy link
Contributor

Sometimes when working on fixing CI you may need to push several times. For these cases, I think it makes sense to automatically cancel previous runs in the same branch.

@deivid-rodriguez deivid-rodriguez requested a review from a team as a code owner July 19, 2023 13:51
@deivid-rodriguez
Copy link
Contributor Author

Let's try it!

@deivid-rodriguez deivid-rodriguez merged commit 1437bda into main Jul 19, 2023
86 checks passed
@deivid-rodriguez deivid-rodriguez deleted the deivid-rodriguez/cancel-in-progress branch July 19, 2023 14:40
@jeffwidman
Copy link
Member

Nice! Didn't realize this was even an option. I shudder to think how many CI minutes I've accidentally wasted with repeated force-pushes tweaking things.

brettfo pushed a commit to brettfo/dependabot-core that referenced this pull request Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants