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

Make force-pushes to a PR'd branch cancel the previous CI job(s) #261

Open
richardpringle opened this issue Sep 19, 2023 · 2 comments
Open
Labels

Comments

@richardpringle
Copy link
Contributor

It makes sense to let a job finish when someone pushes new commits to an open PR so that you can see if CI passed on a previous commit, but it doesn't make sense to do the same when someone force-pushes. In the case where someone force-pushes, the previous job for that branch should be cancelled.

I'm not sure how easy it is to do this, but we should at least explore the options.

@rkuris
Copy link
Collaborator

rkuris commented Sep 28, 2023

I think it already does this!

@rkuris rkuris added the devops label Sep 28, 2023
@richardpringle
Copy link
Contributor Author

I think it already does this!

I don't think so haha. I will verify next time I force-push and get some screenshot evidence

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

2 participants