Repository navigation
Expand file tree
/
Copy path.corbits-triage.yml
More file actions
72 lines (72 loc) · 1.86 KB
/
Copy path.corbits-triage.yml
File metadata and controls
72 lines (72 loc) · 1.86 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Corbits Triage policy.
rules:
- check: max-files-changed
text: Flag pull requests over 30 files changed.
max: 30
reason: Set in the portal before the policy file.
evidence:
- maintainer-stated
- check: max-lines-changed
text: Flag pull requests over 5,000 lines changed.
max: 5000
reason: Set in the portal before the policy file.
evidence:
- maintainer-stated
- check: focused
text: Check the change is focused on one thing.
reason: Set in the portal before the policy file.
evidence:
- maintainer-stated
- check: docs
text: Check docs are updated when behavior changes.
reason: Set in the portal before the policy file.
evidence:
- maintainer-stated
enabled: false
- check: linked-issue
text: Require a linked issue from GitHub or Linear.
tracker: either
reason: Set in the portal before the policy file.
evidence:
- maintainer-stated
- check: no-merge-conflicts
text: Flag merge conflicts with the base branch.
reason: Set in the portal before the policy file.
evidence:
- maintainer-stated
- check: ci-green
text: CI must pass before merge.
reason: Set in the portal before the policy file.
evidence:
- maintainer-stated
- check: no-forbidden-paths
text: Never accept changes to node_modules/**.
paths:
- node_modules/**
reason: Set in the portal before the policy file.
evidence:
- maintainer-stated
actions:
pass:
- do: approve
when:
author:
- users:
- thegreataxios
- do: request-review
target:
to: codeowners
when:
author:
- external
fail:
- do: request-changes
unsure:
- do: assign
target:
to: users
users:
- thegreataxios
when:
author:
- maintainers