Skip to content

Commit 8fabd1c

Browse files
Merge pull request #1451 from corbitsdev/corbits-triage/policy
chore: keep the Corbits Triage policy in .corbits-triage.yaml
2 parents 5ce0bac + db5d746 commit 8fabd1c

2 files changed

Lines changed: 48 additions & 5 deletions

File tree

‎.corbits-triage.yaml‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Corbits Triage policy.
2+
checks:
3+
max-files-changed:
4+
enabled: true
5+
maxFiles: 25
6+
max-lines-changed:
7+
enabled: true
8+
maxLines: 2500
9+
focused:
10+
enabled: true
11+
docs:
12+
enabled: false
13+
linked-issue:
14+
enabled: true
15+
tracker: either
16+
no-merge-conflicts:
17+
enabled: true
18+
ci-green:
19+
enabled: true
20+
no-forbidden-paths:
21+
enabled: true
22+
forbiddenGlobs:
23+
- node_modules/**
24+
custom: []
25+
actions:
26+
when:
27+
- opened
28+
- updated
29+
- checks
30+
- ready
31+
pass: []
32+
fail: []
33+
unsure: []
34+
labels:
35+
pass: "Triage: Ready"
36+
fail: "Triage: Not Ready"
37+
unsure: "Triage: Needs Human Review"

‎CONTRIBUTING.md‎

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -197,14 +197,18 @@ Rules:
197197
under the Summary section (not a separate heading).
198198
- Scan for past-tense journey verbs (`was`, `added`, `fixed`, `refactored`,
199199
`I changed`) and rewrite to present-tense product statements.
200-
- When the work tracks an issue, end the body with a magic-word link (see
201-
below). When it does not, omit the link line entirely — do not invent IDs.
200+
- End the body with a magic-word link to a Linear or GitHub issue (see
201+
below). One of those magic words is required. Do not invent issue IDs.
202202

203203
GitHub auto-fills this shape from `.github/PULL_REQUEST_TEMPLATE.md`.
204204

205205
## Issue tracking (Linear and GitHub)
206206

207-
Link trackers at the **PR boundary**, not inside every commit.
207+
Every pull request must reference a Linear issue or a GitHub issue. Link
208+
trackers at the **PR boundary**, not inside every commit. The pull-request body
209+
must include one of the magic words documented below (`Fixes`, `Refs`, or
210+
another closing or non-closing word in those lists). Do not invent issue IDs
211+
or a new issue-id format.
208212

209213
### When work tracks a Linear issue (MUST)
210214

@@ -249,9 +253,11 @@ Same pattern in the PR body:
249253
Fixes #123
250254
```
251255

252-
### When there is no tracker
256+
### When there is no tracker yet
253257

254-
Omit magic words. Do not invent issue IDs.
258+
Open a Linear or GitHub issue first, then reference it from the pull-request
259+
body with one of the magic words above. Do not omit the link, and do not
260+
invent issue IDs.
255261

256262
### At PR-open (SHOULD)
257263

0 commit comments

Comments
 (0)