File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ' Tag issues with last commenter'
2
+
3
+ on :
4
+ issue_comment :
5
+ types : [created]
6
+
7
+ jobs :
8
+ deploy :
9
+ runs-on : ubuntu-latest
10
+ if : ${{ !github.event.issue.pull_request }}
11
+ steps :
12
+ - name : Checkout
13
+ uses : actions/checkout@v3
14
+
15
+ - name : Add label if commenter is not member
16
+ if : |
17
+ github.event.comment.author_association != 'COLLABORATOR'
18
+ && github.event.comment.author_association != 'MEMBER'
19
+ && github.event.comment.author_association != 'OWNER'
20
+ uses : actions-ecosystem/action-add-labels@v1
21
+ with :
22
+ labels : ' Status: User responded'
23
+
24
+ - name : Remove label if commenter is member
25
+ if : |
26
+ github.event.comment.author_association == 'COLLABORATOR'
27
+ || github.event.comment.author_association == 'MEMBER'
28
+ || github.event.comment.author_association == 'OWNER'
29
+ uses : actions-ecosystem/action-remove-labels@v1
30
+ with :
31
+ labels : ' Status: User responded'
You can’t perform that action at this time.
0 commit comments