Skip to content

Commit 18edc18

Browse files
committed
remove size label action
1 parent 331f925 commit 18edc18

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/pr_labeler.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@ jobs:
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') ||
@@ -102,7 +96,7 @@ jobs:
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-

0 commit comments

Comments
 (0)