Skip to content

Commit

Permalink
Add a PR size labeler (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean authored May 1, 2024
1 parent 25f473a commit 4d9230f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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_label: 'size/XS'
xs_max_size: '5'
s_label: 'size/S'
s_max_size: '15'
m_label: 'size/M'
m_max_size: '50'
l_label: 'size/L'
l_max_size: '200'
xl_label: 'size/XL'
fail_if_xl: 'false'
github_api_url: 'https://api.github.com'

0 comments on commit 4d9230f

Please sign in to comment.