Trigger if mentioned anywhere in the sentence

Signed-off-by: sy-b <94835959+sy-b@users.noreply.github.com>
This commit is contained in:
sy-b
2022-07-12 18:02:19 +05:30
committed by GitHub
parent 5c1500da44
commit 7a9d4b6e82
+2 -2
View File
@@ -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: |