Skip to content

Commit

Permalink
Fix if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
MahdiBM committed Jan 16, 2025
1 parent 2b05d52 commit 1c51ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ on:
jobs:
benchmark:
# If this is a pull-request related event, make sure this is a pr-approval event or someone has rerun the job.
if: startsWith(github.event_name, 'pull_request') == 'true'
if: (startsWith(github.event_name, 'pull_request') != true) || (github.event.review.state == 'approved' || github.run_attempt > 1)
uses: vapor/ci/.github/workflows/run-benchmark.yml@mmbm-benchmark
secrets: inherit

0 comments on commit 1c51ecd

Please sign in to comment.