@@ -48,21 +48,35 @@ chore(ci): migrate dependency management to uv (#1237)
4848feat(api)!: remove deprecated v1 endpoints (#1238)
4949```
5050
51- ## 2. Type label (one per issue)
51+ ## 2. Type label (issues only — one per issue)
5252
53- The title ` type ` maps to a primary type label:
53+ The title ` type ` maps to a primary type label. ** Primary type labels are applied
54+ to issues only:**
5455
5556| Title prefix | Type label | Color |
5657| --------------| -----------------| --------|
5758| ` feat: ` | ` feature ` | indigo |
5859| ` fix: ` | ` bug ` | red |
5960| ` docs: ` | ` documentation ` | blue |
6061
62+ On issues, also set the GitHub ** Type** field to match (` feat: ` → ` Feature ` ,
63+ ` fix: ` → ` Bug ` , every other type → ` Task ` ).
64+
6165` chore: ` , ` style: ` , ` ci: ` , ` build: ` , ` perf: ` , ` refactor: ` , ` test: ` and ` revert: `
6266are valid types; they do not each require a dedicated label (use a repository
6367area/scope label where useful). ` security ` is a ** label** (applied on top of the
6468type, e.g. a ` fix: ` that closes a vulnerability), not a title type.
6569
70+ > ** Pull requests do NOT carry a primary type label.** A pull request's ` type: `
71+ > title prefix (and its linked issue) already convey the type, so ` feature ` ,
72+ > ` bug ` and ` documentation ` must ** never** be added to a pull request — remove
73+ > them if they appear.
74+ >
75+ > Pull requests ** do** still carry other labels. In particular, add an
76+ > ** ownership** label — typically ` filigran team ` or ` community ` — so the source
77+ > of a contribution is clear at a glance. Area/scope labels and workflow labels
78+ > (e.g. ` dependencies ` , ` do not merge ` ) also apply to pull requests where useful.
79+
6680## 3. Workflow & ownership labels
6781
6882- ** Triage** : ` needs triage ` , ` needs more info ` , ` solved ` , ` duplicate ` ,
@@ -98,7 +112,12 @@ taxonomy stands out consistently across every Filigran repository.
98112
99113- [ ] Title follows ` type(scope?)!?: description ` (lowercase, no trailing period)
100114- [ ] Pull request titles end with the ` (#issue) ` reference
101- - [ ] Exactly one primary type label matches the title prefix
115+ - [ ] ** Issues only:** exactly one primary type label (` feature ` / ` bug ` /
116+ ` documentation ` ) matches the title prefix, and the GitHub ** Type** field
117+ (Feature / Bug / Task) is set to match
118+ - [ ] ** Pull requests:** no primary type label (the title prefix conveys the
119+ type); add an ownership label (` filigran team ` / ` community ` ) and any useful
120+ area labels
102121- [ ] Area labels added where useful
103122- [ ] No deprecated labels
104123- [ ] Commits are signed and the PR is linked to an issue
0 commit comments