Skip to content

Commit

Permalink
ci: properly ignore commits
Browse files Browse the repository at this point in the history
  • Loading branch information
woile committed Jan 6, 2025
1 parent ef5a833 commit c9676eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/bumpversion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c9676eb

Please sign in to comment.