Skip to content

Commit c0270e7

Browse files
Update auto-push condition for benchmarks workflow
1 parent 0ccd012 commit c0270e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/Benchmarks.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ permissions:
2828
actions: write
2929
contents: write
3030
deployments: write
31+
pull-requests: write
3132

3233
jobs:
3334
benchmark:
@@ -63,4 +64,4 @@ jobs:
6364
fail-on-alert: true
6465
benchmark-data-dir-path: benchmarks
6566
max-items-in-chart: 100
66-
auto-push: ${{ github.event_name != 'pull_request' }}
67+
auto-push: ${{ github.event_name != 'pull_request' || github.event.pull_request.merged }}

0 commit comments

Comments
 (0)