File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change 28
28
id : approvers
29
29
run : echo ::set-output name=approvers::$(cat ./OWNERS | yq .approvers -M | grep ' ' | sed 's/[", -]//g')
30
30
31
- - name : Add Size label
32
- if : github.event_name == 'pull_request_target'
33
- uses :
" pascalgn/[email protected] "
34
- env :
35
- GITHUB_TOKEN : " ${{ secrets.BOT_PAT }}"
36
-
37
31
- name : Add WIP label / comment trigger
38
32
if : |
39
33
contains(github.event.pull_request.title, 'wip') ||
102
96
with :
103
97
repo-token : ${{ secrets.BOT_PAT }}
104
98
add-labels : ' lgtm'
105
-
99
+
106
100
- name : Add LGTM label - approvers
107
101
if : |
108
102
contains(github.event.comment.html_url, '/pull/') &&
@@ -126,8 +120,8 @@ jobs:
126
120
127
121
- name : Remove LGTM Label if new push is made
128
122
if : |
129
- github.event_name == 'pull_request_target' && github.event.action == 'synchronize' &&
130
- contains(github.event.pull_request.labels.*.name, 'lgtm')
123
+ github.event_name == 'pull_request_target' && github.event.action == 'synchronize' &&
124
+ contains(github.event.pull_request.labels.*.name, 'lgtm')
131
125
uses : andymckay/labeler@master
132
126
with :
133
127
repo-token : ${{ secrets.BOT_PAT }}
@@ -152,4 +146,3 @@ jobs:
152
146
with :
153
147
repo-token : ${{ secrets.BOT_PAT }}
154
148
remove-labels : ' hold'
155
-
You can’t perform that action at this time.
0 commit comments