forked from DaoCloud/DaoCloud-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 916 Bytes
/
auto-size-pr.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Size labeler
on:
- pull_request_target
jobs:
size-labeler:
permissions:
issues: write
pull-requests: write
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: "9"
s_label: "size/s"
s_max_size: "29"
m_label: "size/m"
m_max_size: "99"
l_label: "size/l"
l_max_size: "499"
xl_label: "size/xl"
xl_max_size: "999"
xll_label: "size/xll"
xll_max_size: "1999"
fail_if_xll: "false"
message_if_xll: >
This PR exceeds the recommended size of 2000 lines.
Please make sure you are NOT addressing multiple issues with one PR.
Note this PR might be rejected due to its size.