Skip to content

Commit e1b3a68

Browse files
authored
Merge pull request #6896 from nicoddemus/release-trigger
Fix bot trigger event
2 parents fb7dbc9 + a0ea300 commit e1b3a68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-on-comment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313

14-
if: (github.event.comment && contains(github.event.comment.body, '@pytestbot please')) || (github.event.issue && contains(github.event.issue.body, '@pytestbot please'))
14+
if: (github.event.comment && startsWith(github.event.comment.body, '@pytestbot please')) || (github.event.issue && !github.event.comment && startsWith(github.event.issue.body, '@pytestbot please'))
1515

1616
steps:
1717
- uses: actions/checkout@v1

0 commit comments

Comments
 (0)