Skip to content

Commit d3aa938

Browse files
docs: define the allowed pull request label set (ownership, vibe-coded, language, dependencies) (#598) (#599)
1 parent bb5e642 commit d3aa938

3 files changed

Lines changed: 33 additions & 20 deletions

File tree

.github/LABELS.md

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,20 @@ are valid types; they do not each require a dedicated label (use a repository
6767
area/scope label where useful). `security` is a **label** (applied on top of the
6868
type, e.g. a `fix:` that closes a vulnerability), not a title type.
6969

70-
> **Pull request labels are restricted to ownership only.** A pull request
71-
> carries exactly **one ownership label — `filigran team` or `community` — and
72-
> nothing else.** Every other label (primary type labels, area/scope labels,
73-
> workflow/triage labels) is **issue-only** and must **never** be added to a pull
74-
> request; remove any that appear. The PR's `type:` title prefix and its linked
75-
> issue already convey the type and the affected area.
70+
> **Pull request labels are restricted to a small allowed set.** A pull request
71+
> carries only:
7672
>
77-
> *Exception:* dependency-automation labels (e.g. `dependencies`) are applied by
78-
> Renovate/Dependabot to their own pull requests, which are exempt.
73+
> - exactly **one ownership label — `filigran team` or `community`**;
74+
> - optionally **`vibe-coded`** — an AI-assisted change the author reviews before
75+
> requesting others' review;
76+
> - **language** labels (`javascript`, `python`, `java`, `go`, `rust`,
77+
> `typescript`, …) and the **`dependencies`** label, both applied automatically
78+
> by GitHub/Renovate.
79+
>
80+
> Every other label — primary **type** labels, **area/scope** labels and
81+
> **workflow/triage** labels — is **issue-only** and must **never** be added to a
82+
> pull request; remove any that appear. The PR's `type:` title prefix and its
83+
> linked issue already convey the type and the affected area.
7984
8085
## 3. Workflow & ownership labels
8186

@@ -86,6 +91,8 @@ type, e.g. a `fix:` that closes a vulnerability), not a title type.
8691
- **Ownership**: `filigran team`, `community`, `community support`,
8792
`filigran support`, `partner support`, `enterprise edition`.
8893
- **Security**: `security`.
94+
- **PR review**: `vibe-coded` (an AI-assisted pull request the author reviews
95+
before requesting others' review).
8996
- **CLA**: `cla:pending`, `cla:signed`, `cla:exempt`.
9097
- **Automation**: `dependencies`, `javascript`, `python`, `java`, `do not merge`.
9198

@@ -97,8 +104,8 @@ On top of the shared labels above, repositories define their own area/scope
97104
labels (e.g. `frontend`, `backend`, `connector: <name>`, `collector: <name>`,
98105
`agents`, `authentication`). They add routing context and an issue may carry
99106
more than one. They are **issue-only** — like type and workflow labels, they are
100-
**not** added to pull requests (a PR carries only its `filigran team` /
101-
`community` ownership label). They are not listed in `labels.yml`.
107+
**not** added to pull requests (a PR carries only ownership, `vibe-coded` and the
108+
automatic language / `dependencies` labels). They are not listed in `labels.yml`.
102109

103110
All label names are **lowercase**. Repository-specific labels use a neutral grey
104111
color (`ededed`); only the shared labels above carry color, so the common
@@ -117,9 +124,9 @@ taxonomy stands out consistently across every Filigran repository.
117124
- [ ] **Issues only:** exactly one primary type label (`feature` / `bug` /
118125
`documentation`) matches the title prefix, and the GitHub **Type** field
119126
(Feature / Bug / Task) is set to match
120-
- [ ] **Pull requests:** exactly one ownership label `filigran team` or
121-
`community`and **no other label** (type, area/scope and workflow labels
122-
are issue-only)
127+
- [ ] **Pull requests:** one ownership label (`filigran team` / `community`),
128+
optionally `vibe-coded` and the automatic language / `dependencies` labels
129+
and **no other label** (type, area/scope and workflow labels are issue-only)
123130
- [ ] Issues: area labels added where useful
124131
- [ ] No deprecated labels
125132
- [ ] Commits are signed and the PR is linked to an issue

.github/labels.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,15 @@
106106
color: "5319e7"
107107
description: "CLA not required (Filigran employee)."
108108

109+
# ── PR review flow ──
110+
- name: vibe-coded
111+
color: "a371f7"
112+
description: "PR: AI-assisted change — the author reviews it before requesting others' review."
113+
109114
# ── PR / dependency automation ──
110115
- name: dependencies
111116
color: "0366d6"
112-
description: "Pull requests that update a dependency file."
117+
description: "Pull requests that update a dependency file (applied by Renovate/Dependabot)."
113118
- name: javascript
114119
color: "168700"
115120
description: "Pull requests that update JavaScript code."

CONTRIBUTING.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,13 @@ in [`.github/LABELS.md`](.github/LABELS.md). In short:
5050
* **Labels** — Every **issue** carries one primary type label matching its title
5151
prefix (`feature` for `feat:`, `bug` for `fix:`, `documentation` for `docs:`)
5252
plus optional area labels, and its GitHub **Type** (Feature / Bug / Task) set
53-
to match. **Pull requests are labelled with ownership only** — exactly one of
54-
`filigran team` or `community`, and **nothing else**: type, area/scope and
55-
workflow labels are issue-only (Renovate/Dependabot dependency labels are
56-
exempt). Do not use the deprecated `enhancement` / `feature request` labels —
57-
use `feature`. See [`.github/LABELS.md`](.github/LABELS.md) for the shared
58-
palette ([`.github/labels.yml`](.github/labels.yml)).
53+
to match. **Pull requests carry a restricted label set** — exactly one
54+
ownership label (`filigran team` or `community`), optionally `vibe-coded` (an
55+
AI-assisted change the author reviews first), and the automatic language /
56+
`dependencies` labels. Type, area/scope and workflow labels are issue-only. Do
57+
not use the deprecated `enhancement` / `feature request` labels — use
58+
`feature`. See [`.github/LABELS.md`](.github/LABELS.md) for the shared palette
59+
([`.github/labels.yml`](.github/labels.yml)).
5960
<!-- filigran-conventions:end -->
6061

6162
## How can you get in touch for other questions?

0 commit comments

Comments
 (0)