File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
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.reviewers.outputs.reviewers, github.event.comment.user.login || 'null')
99
+ contains(steps.reviewers.outputs.reviewers, github.event.comment.user.login || 'null') &&
100
+ github.event.issue.user.login != github.event.comment.user.login
100
101
uses : andymckay/labeler@master
101
102
with :
102
103
repo-token : ${{ secrets.BOT_PAT }}
@@ -106,7 +107,8 @@ jobs:
106
107
if : |
107
108
contains(github.event.comment.html_url, '/pull/') &&
108
109
contains(github.event.comment.body, '/lgtm') &&
109
- contains(steps.approvers.outputs.approvers, github.event.comment.user.login || 'null')
110
+ contains(steps.approvers.outputs.approvers, github.event.comment.user.login || 'null') &&
111
+ github.event.issue.user.login != github.event.comment.user.login
110
112
uses : andymckay/labeler@master
111
113
with :
112
114
repo-token : ${{ secrets.BOT_PAT }}
You can’t perform that action at this time.
0 commit comments