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

Automatically cancel PR builds when PRs are closed or merged. #9143

Open
ghost opened this issue Jan 26, 2018 · 2 comments
Open

Automatically cancel PR builds when PRs are closed or merged. #9143

ghost opened this issue Jan 26, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 26, 2018

No description provided.

@CryptAxe
Copy link

This is a good idea 👍

@mozeryansky
Copy link

The scenario we run into a lot is someone approving the PR with a minor request, like changing a word or two, something that definitely won't break a build (to our best knowledge). So instead of waiting for it to build before merging, we would make the change, push, and have GitHub merge. This spins off a new build which immediately fails. Now our repo is marked as "Job Errored".

In the meantime, is there a way to have Travis cancel the job while the job is running?

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

No branches or pull requests

3 participants