Skip to content

Commit 674589d

Browse files
committed
Add check for pull_request in benchmark comment on pr
1 parent 353ba40 commit 674589d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
run: bundle exec rake benchmark:check-regressions
7474

7575
- name: Comment on PR
76-
if: ${{ steps.regressions.outputs.message }}
76+
if: ${{ github.event_name == 'pull_request' && steps.regressions.outputs.message }}
7777
uses: thollander/actions-comment-pull-request@main
7878
with:
7979
message: ${{ steps.regressions.outputs.message }}

0 commit comments

Comments
 (0)