mirror of
https://github.com/spf13/cobra
synced 2025-04-10 16:57:19 +00:00
chore: Rm GitHub Action PR size labeler
Signed-off-by: John McBirde <jpmmcbride@gmail.com>
This commit is contained in:
parent
c25b598345
commit
bd93b873e1
1 changed files with 0 additions and 33 deletions
33
.github/workflows/size-labeler.yml
vendored
33
.github/workflows/size-labeler.yml
vendored
|
@ -1,33 +0,0 @@
|
||||||
# Reference: https://github.com/CodelyTV/pr-size-labeler
|
|
||||||
|
|
||||||
name: size-labeler
|
|
||||||
|
|
||||||
on: [pull_request_target]
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
size-labeler:
|
|
||||||
permissions:
|
|
||||||
pull-requests: write # for codelytv/pr-size-labeler to add labels & comment on PRs
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
name: Label the PR size
|
|
||||||
steps:
|
|
||||||
- uses: codelytv/pr-size-labeler@v1.8.1
|
|
||||||
with:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
xs_label: 'size/XS'
|
|
||||||
xs_max_size: '10'
|
|
||||||
s_label: 'size/S'
|
|
||||||
s_max_size: '24'
|
|
||||||
m_label: 'size/M'
|
|
||||||
m_max_size: '99'
|
|
||||||
l_label: 'size/L'
|
|
||||||
l_max_size: '200'
|
|
||||||
xl_label: 'size/XL'
|
|
||||||
fail_if_xl: 'false'
|
|
||||||
message_if_xl: >
|
|
||||||
'This PR exceeds the recommended size of 200 lines.
|
|
||||||
Please make sure you are NOT addressing multiple issues with one PR.
|
|
||||||
Note this PR might be rejected due to its size.’
|
|
Loading…
Add table
Reference in a new issue