summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorPamphile Roy <roy.pamphile@gmail.com>2023-01-12 17:31:13 +0100
committerGitHub <noreply@github.com>2023-01-12 17:31:13 +0100
commit341afc900028e266aea36733d7794f340b6d7673 (patch)
treef5c8a6827fd51391fb2cac5082d838eb04ddb4f1 /.github
parentbb2769e12a8646f3d63097e9464592aa6e20058d (diff)
downloadnumpy-341afc900028e266aea36733d7794f340b6d7673.tar.gz
MAINT/DOC: refactor CircleCI config file (#22948)
In #22943 we saw that CircleCI was using the deployment keys in all jobs. This PR update the configuration to restrict this on main. Doing that it also: Update to the latest configuration template Add a skip logic on the circleci_artifacts_redirector_job
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/circleci.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/circleci.yml b/.github/workflows/circleci.yml
index 9998a791f..c241bb9a4 100644
--- a/.github/workflows/circleci.yml
+++ b/.github/workflows/circleci.yml
@@ -8,6 +8,7 @@ on: [status]
jobs:
circleci_artifacts_redirector_job:
runs-on: ubuntu-latest
+ if: "github.repository == 'numpy/numpy' && !contains(github.event.head_commit.message, '[circle skip]') && !contains(github.event.head_commit.message, '[skip circle]') && github.event.context == 'ci/circleci: build'"
name: Run CircleCI artifacts redirector
# if: github.repository == 'numpy/numpy'
steps: