mirror of
https://github.com/spf13/cobra
synced 2024-11-14 09:47:16 +00:00
b9460ccc12
Bumps [codelytv/pr-size-labeler](https://github.com/codelytv/pr-size-labeler) from 1.8.0 to 1.8.1. - [Release notes](https://github.com/codelytv/pr-size-labeler/releases) - [Commits](https://github.com/codelytv/pr-size-labeler/compare/v1.8.0...v1.8.1) --- updated-dependencies: - dependency-name: codelytv/pr-size-labeler dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
28 lines
824 B
YAML
28 lines
824 B
YAML
# Reference: https://github.com/CodelyTV/pr-size-labeler
|
||
|
||
name: size-labeler
|
||
|
||
on: [pull_request_target]
|
||
|
||
jobs:
|
||
size-labeler:
|
||
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.’
|