]> git.ipfire.org Git - thirdparty/git.git/commit
ci: deprecate ci/config/allow-ref script
authorJeff King <peff@peff.net>
Wed, 30 Aug 2023 19:51:32 +0000 (15:51 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 30 Aug 2023 22:56:11 +0000 (15:56 -0700)
commitedf80d23f1e945646a873dc9a4fa6634dd9e8ae8
treefc93ec95c1e56a9299ca5352ce49b4b42bd35467
parent21c82dcd623a584b2f716f70eeec1db0326e46db
ci: deprecate ci/config/allow-ref script

Now that we have the CI_BRANCHES mechanism, there is no need for anybody
to use the ci/config/allow-ref mechanism. In the long run, we can
hopefully remove it and the whole "config" job, as it consumes CPU and
adds to the end-to-end latency of the whole workflow. But we don't want
to do that immediately, as people need time to migrate until the
CI_BRANCHES change has made it into the workflow file of every branch.

So let's issue a warning, which will appear in the "annotations" section
below the workflow result in GitHub's web interface. And let's remove
the sample allow-refs script, as we don't want to encourage anybody to
use it.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.github/workflows/main.yml
ci/config/allow-ref.sample [deleted file]