forked from Scottcjn/Rustchain
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (28 loc) · 873 Bytes
/
pr-size.yml
File metadata and controls
31 lines (28 loc) · 873 Bytes
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
name: PR Size Labeler
on:
pull_request_target:
types: [opened, synchronize]
permissions:
pull-requests: write
jobs:
size-label:
runs-on: ubuntu-latest
steps:
- uses: codelytv/pr-size-labeler@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
xs_label: 'size/XS'
xs_max_size: 10
s_label: 'size/S'
s_max_size: 50
m_label: 'size/M'
m_max_size: 200
l_label: 'size/L'
l_max_size: 500
xl_label: 'size/XL'
fail_if_xl: false
message_if_xl: >
This PR is quite large (XL). Consider splitting into smaller,
focused PRs for faster review. Large PRs take longer to review
and have higher risk of issues.
files_to_ignore: '*.md *.txt *.json *.yaml *.yml'