Need help with pr-size-labeler?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

CodelyTV
134 Stars 15 Forks MIT License 23 Commits 5 Opened issues

Description

🏷 Visualize and optionally limit the size of your Pull Requests

Services available

!
?

Need anything else?

Contributors list

🏷 Pull Request size labeler

codely.tv CodelyTV Courses GitHub Action version

Visualize and optionally limit the size of your Pull Requests

🚀 Usage

Create a file named

labeler.yml
inside the
.github/workflows
directory and paste:
name: labeler

on: [pull_request]

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: 'false' message_if_xl: 'This PR is so big! Please, split it 😊'

If you want, you can customize all

*_max_size
with the size that fits in your project.

Setting

fail_if_xl
to
'true'
will make fail all pull requests bigger than
l_max_size
.

⚖️ License

MIT

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.