ci: avoid unnecessary builds, with ci-config
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | ci: avoid unnecessary builds.github/ .github/ .github/ | +50 | 3 replies |
Reviews trailers per patch
The patch has no Reviewed-by or Acked-by.
| Patch | Johannes Schindelin |
|---|---|
| 1/1 | Original-patch-by |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/1] ci: avoid unnecessary builds, with ci-config
This is an alternative approach to Johannes's patch in [1], which cancels running GitHub Actions workflows when newer ones appear via the 'concurrency' controls.
Though the original patch was promising, it does not satisfy all workflows. A couple examples:
- ÆVar points out in [2] that he pushes a topic branch multiple times while working on it to see where CI breaks along a stream of commits.
- Junio points out in [3] that he will often push various combinations of topics merged into 'seen' to try and "bisect" the culprit when debugging CI failures.
On the other hand, being able to cancel previously initiated runs of a workflow on a given branch name is useful when the branch has been updated locally and the results of the in-progress CI run are no longer interesting.
This patch takes an alternative approach to the original patch in [1] by using the same ci-config mechanism to cancel in-progress jobs when newer ones appear only when configured to do so.
The original patch I posted with this approach in [4] had syntax issues. This approach works as expected.
Thanks in advance for your review.
[1]: https://lore.kernel.org/git/[email protected]/
[2]: https://lore.kernel.org/git/[email protected]/
[3]: https://lore.kernel.org/git/[email protected]/
[4]: https://lore.kernel.org/git/[email protected]/
Taylor Blau (1):
ci: avoid unnecessary builds
.github/workflows/check-whitespace.yml | 6 ++++ .github/workflows/l10n.yml | 6 ++++ .github/workflows/main.yml | 40 ++++++++++++++++++++++++-- 3 files changed, 50 insertions(+), 2 deletions(-)
Signature · 1 line
2.38.0.16.g393fd4c6db