Skip to content

Commit 2ae0451

Browse files
committed
add names to actions
1 parent 7eb15e3 commit 2ae0451

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/pr_labeler.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Remove WIP label
4949
if: |
5050
contains(github.event.comment.html_url, '/pull/') &&
51-
contains(github.event.comment.body, '/wip cancel')
51+
contains(github.event.comment.body, '/remove wip')
5252
uses: andymckay/labeler@master
5353
with:
5454
repo-token: ${{ secrets.BOT_PAT }}
@@ -67,7 +67,7 @@ jobs:
6767
- name: Remove bug label
6868
if: |
6969
contains(github.event.comment.html_url, '/pull/') &&
70-
contains(github.event.comment.body, '/bug cancel')
70+
contains(github.event.comment.body, '/remove bug')
7171
uses: andymckay/labeler@master
7272
with:
7373
repo-token: ${{ secrets.BOT_PAT }}
@@ -86,7 +86,7 @@ jobs:
8686
- name: Remove Approved label
8787
if: |
8888
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')) &&
9090
contains(steps.approvers.outputs.approvers, github.event.comment.user.login || 'null')
9191
uses: andymckay/labeler@master
9292
with:
@@ -108,7 +108,7 @@ jobs:
108108
- name: Remove LGTM label
109109
if: |
110110
contains(github.event.comment.html_url, '/pull/') &&
111-
contains(github.event.comment.body, '/lgtm cancel') &&
111+
contains(github.event.comment.body, '/remove lgtm') &&
112112
contains(steps.approvers.outputs.reviewers, github.event.comment.user.login || 'null') &&
113113
github.event.issue.user.login != github.event.comment.user.login
114114
uses: andymckay/labeler@master
@@ -138,7 +138,7 @@ jobs:
138138
- name: Remove Hold label
139139
if: |
140140
contains(github.event.comment.html_url, '/pull/') &&
141-
contains(github.event.comment.body, '/hold cancel') &&
141+
contains(github.event.comment.body, '/remove hold') &&
142142
contains(steps.approvers.outputs.approvers, github.event.comment.user.login || 'null')
143143
uses: andymckay/labeler@master
144144
with:

0 commit comments

Comments
 (0)