Skip to content

Commit 612b245

Browse files
committed
[skip ci] Fix benchmark job condition
1 parent ac884e3 commit 612b245

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/benchmark.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ on:
88
jobs:
99
test:
1010
name: Execute benchmark tests
11-
if: github.event_name == 'schedule' || (github.event_name == 'pull_request_review' && (github.event.pull_request_review.state == 'approved' || contains(github.event.pull_request_review.body, 'please run benchmark'))
11+
if: github.event_name == 'schedule' || (github.event_name == 'pull_request_review')
12+
# if: github.event_name == 'schedule' || (github.event_name == 'pull_request_review' && (github.event.pull_request_review.state == 'approved' || contains(github.event.pull_request_review.body, 'please run benchmark')))
1213

1314
runs-on: ubuntu-20.04
1415

@@ -33,6 +34,7 @@ jobs:
3334
uses: actions/github-script@v4
3435
with:
3536
script: |
37+
console.log(context)
3638
const child_process = require("child_process");
3739
const pull_request = context.payload.pull_request;
3840

0 commit comments

Comments
 (0)