Skip to content

Commit

Permalink
add length check on comment body for benchmark workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Rishabh Singh <[email protected]>
  • Loading branch information
rishabh6788 committed Jul 19, 2024
1 parent cb74371 commit 764e0a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
types: [created]
jobs:
run-performance-benchmark-on-pull-request:
if: ${{ (github.event.issue.pull_request) && (contains(github.event.comment.body, '"run-benchmark-test"')) }}
if: ${{ (github.event.issue.pull_request) && (contains(github.event.comment.body, '"run-benchmark-test"')) && (length(github.event.comment.body) <= 31) }}
runs-on: ubuntu-latest
permissions:
id-token: write
Expand Down

0 comments on commit 764e0a4

Please sign in to comment.