[PATCH 0/2] replacing ci/config/allow-ref with a repo variable
- From
Jeff King <peff@peff.net>
- Date
- Aug 30, 2023, 19:49 UTC
- Message-ID
- <20230830194919.GA1709446@coredump.intra.peff.net>
This is a more efficient way to do the same thing that ci/config/allow-ref does (which didn't exist back then).
We should be able to do the same with ci/config/skip-concurrent (and just use vars.CI_SKIP_CONCURRENT) throughout the workflow. But I didn't test that at all.
After that, the only useful thing left in the "config" job would be the "skip-if-redundant" step. I'm not sure if it will be possible to get the same behavior there without spinning up a VM.
[1/2]: ci: allow branch selection through "vars" [2/2]: ci: deprecate ci/config/allow-ref script
.github/workflows/main.yml | 10 +++++++--- ci/config/README | 14 ++++++++++++++ ci/config/allow-ref.sample | 27 --------------------------- 3 files changed, 21 insertions(+), 30 deletions(-) create mode 100644 ci/config/README delete mode 100755 ci/config/allow-ref.sample