-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (30 loc) · 906 Bytes
/
pr.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
name: PR Labels
on:
pull_request:
types: [opened, labeled, unlabeled, synchronize]
jobs:
type:
name: Type Labels
runs-on: ubuntu-latest
steps:
- uses: mheap/github-action-required-labels@v3
with:
mode: minimum
count: 1
labels: "feat, bug, chore, g11n, test, documentation, cicd"
size:
name: Size Label
runs-on: ubuntu-latest
steps:
- uses: codelytv/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
xs_max_size: '10'
s_max_size: '100'
m_max_size: '500'
l_max_size: '1000'
fail_if_xl: 'false'
message_if_xl: >
'This PR exceeds the recommended size of 1000 lines.
Please make sure you are NOT addressing multiple issues with one PR.
Note this PR might be rejected due to its size.’