Add PR size labeler
This commit is contained in:
parent
7a2b338786
commit
8018d957ae
|
@ -0,0 +1,25 @@
|
|||
name: PR labeler
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize]
|
||||
|
||||
jobs:
|
||||
size-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: "xs"
|
||||
xs_max_size: "10"
|
||||
s_label: "s"
|
||||
s_max_size: "100"
|
||||
m_label: "m"
|
||||
m_max_size: "500"
|
||||
l_label: "l"
|
||||
l_max_size: "1000"
|
||||
xl_label: "xl"
|
||||
fail_if_xl: "false"
|
||||
files_to_ignore: "yarn.lock"
|
Loading…
Reference in New Issue