diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 0a50e57..96eb901 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -2,11 +2,10 @@ name: Benchmark on: push: - tags: - - '**' jobs: bench: + if: ${{ startsWith(github.event.head_commit.message, 'release:') }} runs-on: ubuntu-latest steps: - name: Bench diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index eaa577a..b657b77 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -2,13 +2,10 @@ name: Check on: push: - branches: - - "**" - tags: - - "!**" jobs: check: + if: ${{ !startsWith(github.event.head_commit.message, 'release:') }} runs-on: ubuntu-latest steps: - name: Check