-
Notifications
You must be signed in to change notification settings - Fork 246
47 lines (45 loc) · 1.51 KB
/
labeler.yml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: labeler
on:
pull_request:
types: ['opened', 'ready_for_review', 'reopened', 'synchronize']
jobs:
labeler:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
name: Label the PR size
steps:
- uses: mastercactapus/pr-size-labeler@eb6a25f40d6a3327581aca35839b60d419e8019a # https://github.com/CodelyTV/pr-size-labeler/pull/61, updated with latest from main
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
xs_label: 'size/xs'
xs_max_size: '15'
s_label: 'size/s'
s_max_size: '100'
m_label: 'size/m'
m_max_size: '250'
l_label: 'size/l'
l_max_size: '500'
xl_label: 'size/xl'
fail_if_xl: 'true'
ignore_deleted: 'true'
message_if_xl: >
This PR exceeds the recommended size of 500 lines.
Please make sure you are NOT addressing multiple issues with one PR.
Note this PR might be rejected due to its size.
files_to_ignore: |
"*.lock"
"graphql2/generated.go"
"graphql2/maplimit.go"
"graphql2/mapconfig.go"
"graphql2/models_gen.go"
"pkg/sysapi/*.pb.go"
"swo/swodb/*.go"
"web/src/*.d.ts"
"Makefile.binaries.mk"
"gadb/*.go"
"migrate/schema.sql"
"go.mod"
"go.sum"
".yarn/releases/*"
"devtools/pgdump-lite/pgd/*"
"timezone/*.txt"