-
Notifications
You must be signed in to change notification settings - Fork 37
53 lines (48 loc) · 1.42 KB
/
pr.yaml
File metadata and controls
53 lines (48 loc) · 1.42 KB
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
# Copyright AGNTCY Contributors (https://github.com/agntcy)
# SPDX-License-Identifier: Apache-2.0
name: PR
on:
pull_request_target:
types:
- opened
- edited
- reopened
- synchronize
permissions:
pull-requests: write
contents: read
jobs:
validate_pr_title:
name: Validate PR Title
uses: ./.github/workflows/lint-pr-title.yaml
label:
name: Label
runs-on: ubuntu-latest
steps:
# Return release version when merged: https://github.com/CodelyTV/pr-size-labeler/pull/97
- uses: codelytv/pr-size-labeler@7410ab25f68d95323ceb6fc4b53e8556323b52a7 # 7410ab2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
xs_label: "size/XS"
xs_max_size: "50"
s_label: "size/S"
s_max_size: "200"
m_label: "size/M"
m_max_size: "1000"
l_label: "size/L"
l_max_size: "2000"
xl_label: "size/XL"
fail_if_xl: "false"
message_if_xl: >
This PR exceeds the recommended size of 2000 lines.
Please make sure you are NOT addressing multiple issues with one PR.
Note that this PR might take longer to review due to large size.
files_to_ignore: |
"*.md"
"**/*.pb.go"
"**/*_pb2.py"
"**/*_pb2_grpc.py"
"**/*_pb.js"
"**/*_pb.d.ts"
"**/go.sum"
"**/go.mod"