Skip to content

Commit 5b8fb9c

Browse files
committed
Skip changelog step if on main
1 parent af7ec45 commit 5b8fb9c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
Changelog:
4141
name: Changelog Update Check
4242
runs-on: ubuntu-24.04
43+
if: ${{ github.ref != 'refs/heads/main' }}
4344

4445
steps:
4546
- name: SCM Checkout
@@ -52,7 +53,6 @@ jobs:
5253
uses: ./.github/actions/python-environment
5354

5455
- name: Run changelog update check
55-
if: ${{ github.ref != 'refs/heads/main' }}
5656
run: poetry run -- nox -s changelog:updated
5757

5858
build-matrix:

exasol/toolbox/templates/github/workflows/checks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
Changelog:
5151
name: Changelog Update Check
5252
runs-on: ubuntu-24.04
53+
if: ${{ github.ref != 'refs/heads/main' }}
5354

5455
steps:
5556
- name: SCM Checkout

0 commit comments

Comments
 (0)