fix if for benchmark

This commit is contained in:
Vitaly Turovsky 2025-04-07 16:45:48 +03:00
commit 4dce591f8b

View file

@ -8,11 +8,13 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
# if: >-
# github.event.issue.pull_request != '' &&
# (
# contains(github.event.comment.body, '/benchmark')
# )
if: >-
(github.event_name == 'push' && github.ref == 'refs/heads/perf-test') ||
(
github.event_name == 'issue_comment' &&
github.event.issue.pull_request != '' &&
contains(github.event.comment.body, '/benchmark')
)
permissions:
pull-requests: write
steps: