Skip to content

Commit

Permalink
[skip ci] Fix benchmark job condition
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollonval committed Oct 8, 2021
1 parent ac884e3 commit 612b245
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ on:
jobs:
test:
name: Execute benchmark tests
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'))
if: github.event_name == 'schedule' || (github.event_name == 'pull_request_review')
# 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')))

runs-on: ubuntu-20.04

Expand All @@ -33,6 +34,7 @@ jobs:
uses: actions/github-script@v4
with:
script: |
console.log(context)
const child_process = require("child_process");
const pull_request = context.payload.pull_request;
Expand Down

0 comments on commit 612b245

Please sign in to comment.