diff --git a/.github/workflows/pyrobench.yaml b/.github/workflows/pyrobench.yaml index 43c48a2100..838327b487 100644 --- a/.github/workflows/pyrobench.yaml +++ b/.github/workflows/pyrobench.yaml @@ -3,7 +3,7 @@ on: issue_comment jobs: pyrobench: name: Run Pyrobench on demand by PR comment - if: ${{ (github.event.issue.pull_request) && contains('@pyrobench', github.event.comment.body) }} + if: ${{ (github.event.issue.pull_request) && contains(github.event.comment.body, '@pyrobench') }} runs-on: ubuntu-latest steps: - uses: actions/setup-go@v5