Skip to content

Commit 8d99f72

Browse files
authored
Update bench.yml
1 parent 441a683 commit 8d99f72

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/bench.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: 'Benchmark'
22

3-
on: workflow_dispatch
3+
on:
4+
pull_request_review:
5+
types: [submitted]
6+
workflow_dispatch:
47

58
jobs:
69
file-changes:
@@ -20,7 +23,7 @@ jobs:
2023

2124
self:
2225
name: Georgia Tech | Phoenix (NVHPC)
23-
if: github.repository == 'MFlowCode/MFC' && needs.file-changes.outputs.checkall == 'true'
26+
if: github.repository == 'MFlowCode/MFC' && needs.file-changes.outputs.checkall == 'true' && ${{ github.event.review.state == 'approved' }}
2427
needs: file-changes
2528
strategy:
2629
matrix:

0 commit comments

Comments
 (0)