Skip to content

Commit 1abbc84

Browse files
committed
lgtm to all
1 parent a3cd8a2 commit 1abbc84

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/pr_labeler.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ jobs:
9696
if: |
9797
contains(github.event.comment.html_url, '/pull/') &&
9898
contains(github.event.comment.body, '/lgtm') &&
99-
contains(steps.approvers.outputs.reviewers, github.event.comment.user.login || 'null') &&
100-
github.event.pull_request.user.login != github.event.comment.user.login
99+
contains(steps.approvers.outputs.reviewers, github.event.comment.user.login || 'null')
101100
uses: andymckay/labeler@master
102101
with:
103102
repo-token: ${{ secrets.BOT_PAT }}
@@ -108,8 +107,7 @@ jobs:
108107
if: |
109108
contains(github.event.comment.html_url, '/pull/') &&
110109
contains(github.event.comment.body, '/lgtm') &&
111-
contains(steps.approvers.outputs.approvers, github.event.comment.user.login || 'null') &&
112-
github.event.pull_request.user.login != github.event.comment.user.login
110+
contains(steps.approvers.outputs.approvers, github.event.comment.user.login || 'null')
113111
uses: andymckay/labeler@master
114112
with:
115113
repo-token: ${{ secrets.BOT_PAT }}

0 commit comments

Comments
 (0)