Skip to content

Commit ef4369e

Browse files
committed
ci(.github/workflows): use expression syntax ${{ }} for workflow guards
1 parent dc915d3 commit ef4369e

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/bumpversion.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
bump-version:
10-
if: github.repository == 'commitizen-tools/commitizen' && !startsWith(github.event.head_commit.message, 'bump:')
10+
if: ${{ github.repository == 'commitizen-tools/commitizen' && !startsWith(github.event.head_commit.message, 'bump:') }}
1111
runs-on: ubuntu-latest
1212
name: "Bump version and create changelog with commitizen"
1313
steps:

.github/workflows/docspublish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
update-cli-screenshots:
11-
if: github.repository == 'commitizen-tools/commitizen'
11+
if: ${{ github.repository == 'commitizen-tools/commitizen' }}
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v6
@@ -47,7 +47,7 @@ jobs:
4747
fi
4848
4949
publish-documentation:
50-
if: github.repository == 'commitizen-tools/commitizen'
50+
if: ${{ github.repository == 'commitizen-tools/commitizen' }}
5151
runs-on: ubuntu-latest
5252
needs: update-cli-screenshots
5353
steps:

.github/workflows/homebrewpublish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
deploy:
1111
runs-on: macos-latest
12-
if: github.repository == 'commitizen-tools/commitizen' && github.event.workflow_run.conclusion == 'success'
12+
if: ${{ github.repository == 'commitizen-tools/commitizen' && github.event.workflow_run.conclusion == 'success' }}
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v6

.github/workflows/pythonpublish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
deploy:
10-
if: github.repository == 'commitizen-tools/commitizen'
10+
if: ${{ github.repository == 'commitizen-tools/commitizen' }}
1111
runs-on: ubuntu-latest
1212
permissions:
1313
id-token: write

0 commit comments

Comments
 (0)