Skip to content

Commit 2383dcb

Browse files
committed
allow remove lgtm
1 parent 56ade73 commit 2383dcb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/pr_labeler.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,7 @@ jobs:
120120
if: |
121121
contains(github.event.comment.html_url, '/pull/') &&
122122
contains(github.event.comment.body, '/remove lgtm') &&
123-
contains(steps.approvers.outputs.reviewers, github.event.comment.user.login || 'null') &&
124-
github.event.issue.user.login != github.event.comment.user.login
123+
contains(steps.approvers.outputs.reviewers, github.event.comment.user.login || 'null')
125124
uses: andymckay/labeler@master
126125
with:
127126
repo-token: ${{ secrets.BOT_PAT }}

0 commit comments

Comments
 (0)