Skip to content

Commit

Permalink
Merge pull request #6896 from nicoddemus/release-trigger
Browse files Browse the repository at this point in the history
Fix bot trigger event
  • Loading branch information
nicoddemus committed Mar 11, 2020
2 parents fb7dbc9 + a0ea300 commit e1b3a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-on-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
build:
runs-on: ubuntu-latest

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

steps:
- uses: actions/checkout@v1
Expand Down

0 comments on commit e1b3a68

Please sign in to comment.