Skip to content

Commit 46e102a

Browse files
authored
ci: gate benchmark alerts to pull requests (#197)
1 parent 016b3db commit 46e102a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/benchmarks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
external-data-json-path: ./cache/benchmark-data.json
129129
github-token: ${{ secrets.GITHUB_TOKEN }}
130130
summary-always: true
131-
comment-on-alert: true
131+
comment-on-alert: ${{ github.event_name == 'pull_request' }}
132132
alert-threshold: "125%"
133133
fail-on-alert: false
134134

0 commit comments

Comments
 (0)