mirror of
https://github.com/CodelyTV/pr-size-labeler.git
synced 2025-02-18 19:12:50 -05:00
🏷 Visualize and optionally limit the size of your Pull Requests
actionautomationcodelycodelytvgithubgithub-actiongithub-actionspull-requestpull-request-actionpull-request-managementpull-requests
action.yml | ||
Dockerfile | ||
entrypoint.sh | ||
LICENSE | ||
README.md |
🏷 Pull Request size labeler
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'