diff options
author | mattip <matti.picus@gmail.com> | 2023-01-29 09:58:57 +0200 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2023-01-29 09:58:57 +0200 |
commit | bc48b2af4c603da62c0db1bb519a7ed38eec56ee (patch) | |
tree | 6282da8e2d5ec44775b025e17f02969a5d1d234e | |
parent | c029f407dae0aba79097715dca540d7945b28fd3 (diff) | |
download | numpy-bc48b2af4c603da62c0db1bb519a7ed38eec56ee.tar.gz |
BUILD: add skipping conditional to github workflows where missing
-rw-r--r-- | .github/workflows/cygwin.yml | 2 | ||||
-rw-r--r-- | .github/workflows/emscripten.yml | 2 | ||||
-rw-r--r-- | .github/workflows/linux_meson.yml | 1 | ||||
-rw-r--r-- | .github/workflows/linux_musl.yml | 1 | ||||
-rw-r--r-- | .github/workflows/wheels.yml | 2 |
5 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml index 731b1fa5d..04f21aab6 100644 --- a/.github/workflows/cygwin.yml +++ b/.github/workflows/cygwin.yml @@ -22,7 +22,7 @@ permissions: jobs: cygwin_build_test: runs-on: windows-latest - if: github.repository == 'numpy/numpy' + if: "github.repository == 'numpy/numpy' && !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]')" steps: - uses: actions/checkout@v3 with: diff --git a/.github/workflows/emscripten.yml b/.github/workflows/emscripten.yml index 4fb48e6e6..1d7830669 100644 --- a/.github/workflows/emscripten.yml +++ b/.github/workflows/emscripten.yml @@ -19,7 +19,7 @@ permissions: jobs: build-wasm-emscripten: runs-on: ubuntu-22.04 - if: github.repository == 'numpy/numpy' + if: "github.repository == 'numpy/numpy' && !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]')" env: PYODIDE_VERSION: 0.22.0a3 # PYTHON_VERSION and EMSCRIPTEN_VERSION are determined by PYODIDE_VERSION. diff --git a/.github/workflows/linux_meson.yml b/.github/workflows/linux_meson.yml index 9b21820fb..d1d20b87d 100644 --- a/.github/workflows/linux_meson.yml +++ b/.github/workflows/linux_meson.yml @@ -26,6 +26,7 @@ permissions: jobs: meson_devpy: + if: "github.repository == 'numpy/numpy' && !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]')" runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/linux_musl.yml b/.github/workflows/linux_musl.yml index f3a45a1d7..7d842a7e8 100644 --- a/.github/workflows/linux_musl.yml +++ b/.github/workflows/linux_musl.yml @@ -23,6 +23,7 @@ permissions: jobs: musllinux_x86_64: runs-on: ubuntu-latest + if: "github.repository == 'numpy/numpy' && !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]')" container: # Use container used for building musllinux wheels # it has git installed, all the pythons, etc diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 8b1546534..54ddf465d 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -38,7 +38,7 @@ jobs: get_commit_message: name: Get commit message runs-on: ubuntu-latest - if: github.repository == 'numpy/numpy' + if: "github.repository == 'numpy/numpy' && !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]')" outputs: message: ${{ steps.commit_message.outputs.message }} steps: |