chore: cancel old in-progress CI workflows#13811
Conversation
lucacasonato
left a comment
There was a problem hiding this comment.
Can we not do this on main? On main we want CI for every commit so we get all the canary releases.
|
@lucacasonato |
|
Yup, This won't affect |
|
One note: this does make committing multiple commits to find flaky tests more difficult. |
Yeah basically in such case we'll need to push empty commit after the previous one finished. Let's see how it works, but I'm skeptical |
CI will run only on the latest commit in a PR. Saves energy 🌲
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
Idea from nodejs/node#42017