Skip to content

Commit

Permalink
fix(bump-version.yml,python-app.yml): fix missing not operator with i…
Browse files Browse the repository at this point in the history
…f statement (#11)
  • Loading branch information
dobizz authored Nov 5, 2023
1 parent 260db98 commit 17b8a5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
bump_version:
if: ${{ startsWith(github.event.head_commit.message, 'bump:') }}
if: ${{ !startsWith(github.event.head_commit.message, 'bump:') }}
name: "Bump version and create changelog with commitizen"
runs-on: ubuntu-latest

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:

jobs:
build:
if: ${{ startsWith(github.event.head_commit.message, 'bump:') }}
if: ${{ !startsWith(github.event.head_commit.message, 'bump:') }}
runs-on: ubuntu-latest

strategy:
Expand Down

0 comments on commit 17b8a5b

Please sign in to comment.