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

QA is cancelled when a new commit is pushed #215

Merged
merged 1 commit into from
Jul 6, 2022
Merged

Conversation

EduardGomezEscandell
Copy link
Collaborator

When you push twice in a row, CI jobs run twice. The runs for the old commits are redundant.

The biggest effect is that the Github commenter will start spamming threads when you push two commits in a row (for instance when you accept more than one of its suggestions).

This PR changes it so that, in pull requests, a newer commit will cancel old QA runs. If necessary I can also apply it to build and run-tests, but these are less anoying.

@EduardGomezEscandell EduardGomezEscandell added the enhancement New feature or request label Jul 6, 2022
@EduardGomezEscandell EduardGomezEscandell self-assigned this Jul 6, 2022
Copy link
Collaborator

@CarlosNihelton CarlosNihelton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, thanks for doing that.

@CarlosNihelton CarlosNihelton merged commit 743b6e9 into main Jul 6, 2022
@CarlosNihelton CarlosNihelton deleted the stop-qa-spam branch July 6, 2022 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants