Skip to content

DX: cancel running builds on subsequent pushes in CI#6940

Merged
Wirone merged 4 commits intoPHP-CS-Fixer:masterfrom
staabm:patch-3
May 5, 2023
Merged

DX: cancel running builds on subsequent pushes in CI#6940
Wirone merged 4 commits intoPHP-CS-Fixer:masterfrom
staabm:patch-3

Conversation

@staabm
Copy link
Copy Markdown
Contributor

@staabm staabm commented May 5, 2023

since the CI pipeline is pretty slow/takes a lot of time, I want to propose to skip in-progress jobs after a new commit is pushed to a PR.

that way we don't build up a long queue of jobs but keep only the most recent one per PR

@staabm staabm changed the title CI: cancel running builds on subsequent pushes DX: cancel running builds on subsequent pushes in CI May 5, 2023
Copy link
Copy Markdown
Member

@Wirone Wirone left a comment

Choose a reason for hiding this comment

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

Great improvement! I'm relatively new to the project and I don't have much experience with Github Actions (long-time Gitlab user), but I also try to make Fixer's pipeline better, so I welcome such changes with open arms 😁.

@Wirone Wirone merged commit 224c343 into PHP-CS-Fixer:master May 5, 2023
@Wirone
Copy link
Copy Markdown
Member

Wirone commented May 5, 2023

Thank you very much, @staabm 🍻

@staabm staabm deleted the patch-3 branch May 5, 2023 14:44
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.

2 participants