diff --git a/.github/workflows/bumpversion.yml b/.github/workflows/bumpversion.yml index b9c5c30..262de20 100644 --- a/.github/workflows/bumpversion.yml +++ b/.github/workflows/bumpversion.yml @@ -7,9 +7,7 @@ on: jobs: bump-version: - if: | - !startsWith(github.event.head_commit.message, 'bump:') || - !startsWith(github.event.head_commit.message, 'bench:') + if: ${{ !startsWith(github.event.head_commit.message, 'bump:') || !startsWith(github.event.head_commit.message, 'bench:') }} runs-on: ubuntu-latest name: "Bump version and create changelog with commitizen" steps: diff --git a/.github/workflows/pr-tests.yaml b/.github/workflows/pr-tests.yaml index 37644e5..782b1aa 100644 --- a/.github/workflows/pr-tests.yaml +++ b/.github/workflows/pr-tests.yaml @@ -61,6 +61,8 @@ jobs: fail_ci_if_error: true token: ${{secrets.CODECOV_TOKEN}} bench: + # do not run on bench commits, which have automatically been generated by the bench_release job + if: ${{ !startsWith(github.event.head_commit.message, 'bench:') }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v4