Skip to content

Commit 8b9e6fd

Browse files
committed
ci: use Angular-style labels in the templates, labeler and release notes
Issue forms add bug or feature with needs triage, the labeler uses area: labels only, release notes group by change type, and CONTRIBUTING lists every label.
1 parent 9a9f64d commit 8b9e6fd

5 files changed

Lines changed: 34 additions & 17 deletions

File tree

‎.github/ISSUE_TEMPLATE/bug_report.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Bug report
22
description: Something in the devtools shows wrong data, breaks, or looks wrong
3-
labels: [bug]
3+
labels: [bug, needs triage]
44
body:
55
- type: dropdown
66
id: area

‎.github/ISSUE_TEMPLATE/feature_request.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Feature request
22
description: Suggest an inspector, a view or an agent tool
3-
labels: [enhancement]
3+
labels: [feature, needs triage]
44
body:
55
- type: textarea
66
id: problem

‎.github/labeler.yml‎

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
- changed-files:
77
- any-glob-to-any-file: ['packages/ng-devtools/**', 'bin.mjs']
88

9+
'area: agents':
10+
- changed-files:
11+
- any-glob-to-any-file:
12+
['packages/ng-devtools/src/devframe.ts', 'packages/ng-devtools/src/rpc/**']
13+
914
'area: extension':
1015
- changed-files:
1116
- any-glob-to-any-file: ['extension/**']
@@ -14,14 +19,11 @@
1419
- changed-files:
1520
- any-glob-to-any-file: ['src/**', 'public/**', 'examples/**']
1621

17-
documentation:
22+
'area: docs':
1823
- changed-files:
1924
- any-glob-to-any-file: ['apps/docs/**', 'docs/**', '*.md']
2025

21-
'area: agents':
22-
- changed-files:
23-
- any-glob-to-any-file: ['.claude/**', 'AGENTS.md', 'CLAUDE.md']
24-
25-
ci:
26+
'area: ci':
2627
- changed-files:
27-
- any-glob-to-any-file: ['.github/**', '.githooks/**', 'scripts/**']
28+
- any-glob-to-any-file:
29+
['.github/**', '.githooks/**', 'scripts/**', '.claude/**', 'AGENTS.md', 'CLAUDE.md']

‎.github/release.yml‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
changelog:
22
exclude:
3-
labels: [ignore-for-release]
3+
labels: ['release: skip']
44
categories:
5-
- title: Package
6-
labels: ['area: package']
7-
- title: Panel
8-
labels: ['area: panel']
9-
- title: Chrome extension
10-
labels: ['area: extension']
5+
- title: Breaking changes
6+
labels: ['breaking changes']
7+
- title: Features
8+
labels: [feature]
9+
- title: Bug fixes
10+
labels: [bug]
1111
- title: Documentation
12-
labels: [documentation]
12+
labels: ['area: docs']
1313
- title: Other changes
1414
labels: ['*']

‎CONTRIBUTING.md‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,21 @@ By taking part you agree to the [Code of Conduct](./CODE_OF_CONDUCT.md). Report
2929
- **Docs changes:** follow the [writing guide](./apps/docs/src/content/contributing/writing-docs.md). Run the docs site with `pnpm docs:dev`.
3030
- **Keep the docs in step with the code:** when a pull request changes behaviour, an option, a UI label or an agent tool, update the matching page in `apps/docs` in the same pull request. If no docs change is needed, add the `no-docs` label and say why in the description. The Docs check workflow warns when code changes without docs.
3131

32+
## Labels
33+
34+
The labels follow the Angular repository.
35+
36+
| Label | Use |
37+
| --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
38+
| `bug`, `feature`, `breaking changes` | What kind of change it is. Issue forms add `bug` or `feature` with `needs triage`. |
39+
| `P0` to `P3` | Priority, from broken for most users (`P0`) to not urgent (`P3`). |
40+
| `area: *` | The part of the repository: panel, package, agents, extension, demo, docs, security, performance, accessibility, ci. Pull requests get these from the paths they change. |
41+
| `needs triage`, `needs reproduction`, `needs: clarification`, `needs: discussion` | What an issue is waiting for. |
42+
| `state: confirmed`, `state: has PR`, `state: blocked`, `state: WIP` | Where an issue stands. |
43+
| `action: review`, `action: cleanup`, `action: merge`, `action: discuss` | What a pull request needs next. |
44+
| `good first issue`, `help wanted` | Issues open to new contributors. |
45+
| `no-docs`, `release: skip` | No docs change needed; leave out of the release notes. |
46+
3247
## Run the checks
3348

3449
Run the checks from [Development setup](./apps/docs/src/content/contributing/development.md), plus these:

0 commit comments

Comments
 (0)