48
48
- name : Remove WIP label
49
49
if : |
50
50
contains(github.event.comment.html_url, '/pull/') &&
51
- contains(github.event.comment.body, '/wip cancel ')
51
+ contains(github.event.comment.body, '/remove wip ')
52
52
uses : andymckay/labeler@master
53
53
with :
54
54
repo-token : ${{ secrets.BOT_PAT }}
67
67
- name : Remove bug label
68
68
if : |
69
69
contains(github.event.comment.html_url, '/pull/') &&
70
- contains(github.event.comment.body, '/bug cancel ')
70
+ contains(github.event.comment.body, '/remove bug ')
71
71
uses : andymckay/labeler@master
72
72
with :
73
73
repo-token : ${{ secrets.BOT_PAT }}
86
86
- name : Remove Approved label
87
87
if : |
88
88
contains(github.event.comment.html_url, '/pull/') &&
89
- (contains(github.event.comment.body, '/approve') || contains(github.event.comment.body, '/approve cancel ')) &&
89
+ (contains(github.event.comment.body, '/approve') || contains(github.event.comment.body, '/remove approve ')) &&
90
90
contains(steps.approvers.outputs.approvers, github.event.comment.user.login || 'null')
91
91
uses : andymckay/labeler@master
92
92
with :
@@ -108,7 +108,7 @@ jobs:
108
108
- name : Remove LGTM label
109
109
if : |
110
110
contains(github.event.comment.html_url, '/pull/') &&
111
- contains(github.event.comment.body, '/lgtm cancel ') &&
111
+ contains(github.event.comment.body, '/remove lgtm ') &&
112
112
contains(steps.approvers.outputs.reviewers, github.event.comment.user.login || 'null') &&
113
113
github.event.issue.user.login != github.event.comment.user.login
114
114
uses : andymckay/labeler@master
@@ -138,7 +138,7 @@ jobs:
138
138
- name : Remove Hold label
139
139
if : |
140
140
contains(github.event.comment.html_url, '/pull/') &&
141
- contains(github.event.comment.body, '/hold cancel ') &&
141
+ contains(github.event.comment.body, '/remove hold ') &&
142
142
contains(steps.approvers.outputs.approvers, github.event.comment.user.login || 'null')
143
143
uses : andymckay/labeler@master
144
144
with :
0 commit comments