File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 96
96
if : |
97
97
contains(github.event.comment.html_url, '/pull/') &&
98
98
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')
101
100
uses : andymckay/labeler@master
102
101
with :
103
102
repo-token : ${{ secrets.BOT_PAT }}
@@ -108,8 +107,7 @@ jobs:
108
107
if : |
109
108
contains(github.event.comment.html_url, '/pull/') &&
110
109
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')
113
111
uses : andymckay/labeler@master
114
112
with :
115
113
repo-token : ${{ secrets.BOT_PAT }}
You can’t perform that action at this time.
0 commit comments