Skip to content

Commit

Permalink
BUILD: add skipping conditional to github workflows where missing
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip committed Jan 29, 2023
1 parent c029f40 commit bc48b2a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cygwin.yml
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/emscripten.yml
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/linux_meson.yml
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/linux_musl.yml
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Expand Up @@ -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:
Expand Down

0 comments on commit bc48b2a

Please sign in to comment.