diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index d5707b44..31e11a46 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -25,6 +25,7 @@ jobs: run: go test ./... -benchmem -bench ^Benchmark -benchtime=300000x | tee bench.log - name: Check benchmark result + if: github.event_name == 'pull_request' uses: benchmark-action/github-action-benchmark@v1 with: name: Go Benchmark