Skip to content

Commit

Permalink
add check to workflows (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
meganrm authored Apr 16, 2024
1 parent 6b8a814 commit a8e71d8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

jobs:
Analyze:
if: ${{ !contains(github.event.head_commit.message, 'Bump version') }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

jobs:
docs:
if: ${{ !contains(github.event.head_commit.message, 'Bump version') }}
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ on:

jobs:
test:
if: ${{ !contains(github.event.head_commit.message, 'Bump version') }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -46,7 +47,7 @@ jobs:

lint:
runs-on: ubuntu-latest

if: ${{ !contains(github.event.head_commit.message, 'Bump version') }}
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand Down

0 comments on commit a8e71d8

Please sign in to comment.