-
Notifications
You must be signed in to change notification settings - Fork 0
65 lines (62 loc) · 1.94 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: labeler
on:
pull_request:
branches:
- master
types:
- reopened
- opened
- synchronize
permissions:
contents: read
issues: write
pull-requests: write
jobs:
labeler-content:
name: Label for PR content
if: github.repository == 'skyclouds2001/rollup-template-sky'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
labeler-size:
name: Label for PR size
if: github.repository == 'skyclouds2001/rollup-template-sky'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: codelytv/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
github_api_url: https://api.github.com
xs_label: size/xs
xs_max_size: 10
s_label: size/s
s_max_size: 100
m_label: size/m
m_max_size: 500
l_label: size/l
l_max_size: 1000
xl_label: size/xl
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.
files_to_ignore: 'package-lock.json yarn.lock pnpm-lock.yaml'
label-rebase-needed:
name: Label for PR merge conflict
if: github.repository == 'skyclouds2001/rollup-template-sky'
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: eps1lon/[email protected]
with:
dirtyLabel: merge conflicts
repoToken: ${{ secrets.GITHUB_TOKEN }}
commentOnDirty: |
This pull request has conflicts, please resolve those before we can evaluate the pull request.
commentOnClean: |
Conflicts have been resolved. A maintainer will review the pull request shortly.