Ver código fonte

Improve - assign-commenter

Signed-off-by: sy-b <94835959+sy-b@users.noreply.github.com>
sy-b 3 anos atrás
pai
commit
5b61c1679e
1 arquivos alterados com 3 adições e 2 exclusões
  1. 3 2
      .github/workflows/commentCommands.yml

+ 3 - 2
.github/workflows/commentCommands.yml

@@ -6,10 +6,11 @@ on:
     
 jobs:
 
-  assign-commentor:
+  assign-commenter:
     runs-on: ubuntu-latest
     if: |
-      github.event.comment.body == '/assignme'
+      contains(github.event.comment.body, '/assignme') ||
+      contains(github.event.comment.body, '/assign me')
     steps:
       - name: Assigning to commenter
         run: |