diff options
author | sy-b <94835959+sy-b@users.noreply.github.com> | 2022-07-12 15:32:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-12 15:32:19 +0300 |
commit | 7a9d4b6e82a06fbabc49258c715f75830e310cc9 (patch) | |
tree | 89a772aac0036cf3b8fda86c402f5e87f58f2115 | |
parent | 5c1500da44930dccc45c84c38745c15408682bb4 (diff) |
Trigger if mentioned anywhere in the sentence
Signed-off-by: sy-b <94835959+sy-b@users.noreply.github.com>
-rw-r--r-- | .github/workflows/commentCommands.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/commentCommands.yml b/.github/workflows/commentCommands.yml index b11a3c6..e5ed4d9 100644 --- a/.github/workflows/commentCommands.yml +++ b/.github/workflows/commentCommands.yml @@ -23,10 +23,10 @@ jobs: request-issue-framing-improvement: runs-on: ubuntu-latest if: | - github.event.comment.body == '/improve' && ( + contains(github.event.comment.body,'/improve') && ( github.event.comment.author_association == 'OWNER' || github.event.comment.author_association == 'COLLABORATOR' || - github.event.comment.author_association == 'CONTRIBUTOR' ) + github.event.comment.author_association != 'CONTRIBUTOR' ) steps: - name: request-issue-framing-improvement run: | |