Skip to content

Commit

Permalink
chore: still trying to stop GHA running on docs / style [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed May 7, 2024
1 parent 2a7824d commit 7306b35
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ jobs:
name: Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }}
runs-on: ${{ matrix.runs-on }}
# don't run tests if any commits in push contain "docs:" or "style:"
if:
${{ (!contains(github.push.commits.message, 'docs:') ) &&
(!contains(github.push.commits.message, 'style:') ) }}
if: ${{ !contains(github.push.commits.message, 'docs:') && !contains(github.push.commits.message, 'style:') }}
needs: [pre-commit]
strategy:
# Otherwise, the workflow would stop if a single job fails. We want to
Expand Down

0 comments on commit 7306b35

Please sign in to comment.