Re: [PATCH] ci: avoid unnecessary builds
- From
Taylor Blau <me@ttaylorr.com>
- Date
- Nov 4, 2022, 02:09 UTC
- Message-ID
- <Y2R0YrQzKaUZzaPB@nand.local>
- In-Reply-To
- <pull.1404.git.1667482458622.gitgitgadget@gmail.com>
On Thu, Nov 03, 2022 at 01:34:18PM +0000, Johannes Schindelin via GitGitGadget wrote:
> .github/workflows/check-whitespace.yml | 5 +++++ > .github/workflows/l10n.yml | 5 +++++ > .github/workflows/main.yml | 5 +++++ > 3 files changed, 15 insertions(+)
Very nice. For my own workflow, I'll often do something like:
- work on a topic
- decide that the topic is ready for submission, so push it to GitHub
- while running `git rebase master -x 'make -j40 DEVELOPER=1 test'`, I
notice that an earlier patch is broken, so fix it
- push the (updated) topic out...and before preparing the rest of the series for submission, I'll cancel any in-progress runs, the results of which I no longer care about.
It sounds like this does exactly that automatically, making older runs obsolete by newer ones.
Thanks, Taylor