Skip to content

Commit

Permalink
Add check for pull_request in benchmark comment on pr
Browse files Browse the repository at this point in the history
  • Loading branch information
alextwoods committed Oct 4, 2024
1 parent 353ba40 commit 674589d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
run: bundle exec rake benchmark:check-regressions

- name: Comment on PR
if: ${{ steps.regressions.outputs.message }}
if: ${{ github.event_name == 'pull_request' && steps.regressions.outputs.message }}
uses: thollander/actions-comment-pull-request@main
with:
message: ${{ steps.regressions.outputs.message }}
Expand Down
2 changes: 1 addition & 1 deletion tasks/benchmark

0 comments on commit 674589d

Please sign in to comment.