diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb56e00..11db7f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -177,7 +177,7 @@ jobs: benchmarks: name: Performance Benchmarks runs-on: ubuntu-latest - if: github.event_name == 'push' && github.ref == 'refs/heads/main' + if: github.event_name == 'push' && github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, '[bench]') steps: - name: Checkout code uses: actions/checkout@v4