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 2828 id : approvers
2929 run : echo ::set-output name=approvers::$(cat ./OWNERS | yq .approvers -M | grep ' ' | sed 's/[", -]//g')
3030
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-
3731 - name : Add WIP label / comment trigger
3832 if : |
3933 contains(github.event.pull_request.title, 'wip') ||
10296 with :
10397 repo-token : ${{ secrets.BOT_PAT }}
10498 add-labels : ' lgtm'
105-
99+
106100 - name : Add LGTM label - approvers
107101 if : |
108102 contains(github.event.comment.html_url, '/pull/') &&
@@ -126,8 +120,8 @@ jobs:
126120
127121 - name : Remove LGTM Label if new push is made
128122 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')
131125 uses : andymckay/labeler@master
132126 with :
133127 repo-token : ${{ secrets.BOT_PAT }}
@@ -152,4 +146,3 @@ jobs:
152146 with :
153147 repo-token : ${{ secrets.BOT_PAT }}
154148 remove-labels : ' hold'
155-
You can’t perform that action at this time.
0 commit comments