Mfmz/test req #70
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: labeler | |
on: | |
pull_request: | |
branches: | |
- 'main' | |
jobs: | |
labeler: | |
runs-on: ubuntu-latest | |
name: Label the PR size | |
steps: | |
- uses: CodelyTV/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
xs_max_size: '10' | |
s_max_size: '100' | |
m_max_size: '500' | |
l_max_size: '1000' | |
fail_if_xl: 'true' | |
message_if_xl: > | |
'This PR exceeds the recommended size of 1000 lines. | |
Please make sure you are NOT addressing multiple issues with one PR. | |
Note this PR might be rejected due to its size.' | |
github_api_url: 'api.github.com' |