Skip to content

Commit 93f42d9

Browse files
committed
update trigger condition
1 parent 404a101 commit 93f42d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/unittest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010
jobs:
1111
unittest:
1212
# only run on pull request
13-
if: ${{ github.event.issue.pull_request && github.event.comment.body == '/run-unittest' && github.event.comment.author_association == 'COLLABORATOR' }}
13+
if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, '/run-unittest') && github.event.comment.author_association == 'COLLABORATOR' }}
1414
runs-on: self-hosted
1515

1616
steps:

0 commit comments

Comments
 (0)