🏷 Visualize and optionally limit the size of your Pull Requests
Find a file
2020-03-02 08:59:03 +01:00
action.yml docs: add branding icon/color & version badge (#1) 2020-03-02 08:59:03 +01:00
Dockerfile Add first basic version 2020-02-27 15:32:34 +01:00
entrypoint.sh Fail if xl 2020-02-27 17:42:21 +01:00
LICENSE Improve readme 2020-02-27 18:32:31 +01:00
README.md docs: add branding icon/color & version badge (#1) 2020-03-02 08:59:03 +01:00

🏷 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/pr-size-labeler@v1
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          xs_max_size: '50'
          s_max_size: '100'
          m_max_size: '450'
          l_max_size: '800'
          fail_if_xl: 'true'

⚖️ License

MIT