Skip to content

Commit

Permalink
Check if @pyrobench is in comment body before firing action (#3474)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonswine authored Aug 9, 2024
1 parent d876d37 commit 24e11e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pyrobench.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: issue_comment
jobs:
pyrobench:
name: Run Pyrobench on demand by PR comment
if: ${{ github.event.issue.pull_request }}
if: ${{ (github.event.issue.pull_request) && contains('@pyrobench', github.event.comment.body) }}
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
Expand Down

0 comments on commit 24e11e6

Please sign in to comment.