Skip to content

Commit 6a9a392

Browse files
chore: update labels in workflows/templates (#63713)
1 parent 3192172 commit 6a9a392

File tree

7 files changed

+43
-43
lines changed

7 files changed

+43
-43
lines changed

.github/ISSUE_TEMPLATE/1.bug_report.yml

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Bug Report
22
description: Create a bug report for the Next.js core
3-
labels: ['template: bug']
3+
labels: ['bug']
44
body:
55
- type: markdown
66
attributes:
@@ -71,29 +71,30 @@ body:
7171
multiple: true
7272
options:
7373
- 'Not sure'
74-
- 'App Router'
75-
- 'CLI (create-next-app)'
76-
- 'Data fetching (gS(S)P, getInitialProps)'
77-
- 'Dynamic imports (next/dynamic)'
78-
- 'ESLint (eslint-config-next)'
79-
- 'Font optimization (next/font)'
80-
- 'Image optimization (next/image, next/legacy/image)'
74+
- 'create-next-app'
75+
- 'Documentation'
76+
- 'Lazy Loading'
77+
- 'Font (next/font)'
78+
- 'Image (next/image)'
79+
- 'Instrumentation'
8180
- 'Internationalization (i18n)'
82-
- 'Jest (next/jest)'
83-
- 'MDX (@next/mdx)'
84-
- 'Metadata (metadata, generateMetadata, next/head)'
85-
- 'Middleware / Edge (API routes, runtime)'
86-
- 'Module resolution (CJS / ESM, module resolving)'
87-
- 'Operating System (Windows, MacOS, Linux)'
88-
- 'Package manager (npm, pnpm, Yarn)'
89-
- 'Routing (next/router, next/navigation, next/link)'
90-
- 'Script optimization (next/script)'
91-
- 'Standalone mode (output: "standalone")'
92-
- 'Static HTML Export (output: "export")'
93-
- 'SWC minifier (swcMinify: true)'
94-
- 'SWC transpilation'
95-
- 'Turbopack (--turbo)'
96-
- 'TypeScript (plugin, built-in types)'
81+
- 'Linting'
82+
- 'Markdown (MDX)'
83+
- 'Metadata'
84+
- 'Middleware'
85+
- 'Output (export/standalone)'
86+
- 'Pages Router'
87+
- 'Parallel & Intercepting Routes'
88+
- 'Partial Prerendering (PPR)'
89+
- 'Performance'
90+
- 'Runtime'
91+
- 'Script (next/script)'
92+
- 'Testing'
93+
- 'Turbopack'
94+
- 'TypeScript'
95+
- 'SWC'
96+
- 'Upstream'
97+
9798
validations:
9899
required: true
99100
- type: dropdown

.github/ISSUE_TEMPLATE/2.example_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 for Examples
22
description: Create a bug report for one of the Next.js examples
3-
labels: ['area: examples']
3+
labels: ['example bug']
44
body:
55
- type: markdown
66
attributes:

.github/ISSUE_TEMPLATE/4.docs_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: 'Docs Request for an Update or Improvement'
22
description: A request to update or improve Next.js documentation
33
title: 'Docs: '
44
labels:
5-
- 'template: documentation'
5+
- 'documentation'
66
body:
77
- type: markdown
88
attributes:

.github/labeler.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"labels": {
3-
"area: create-next-app": ["packages/create-next-app/**"],
4-
"area: documentation": ["docs/**", "errors/**"],
5-
"area: examples": ["examples/**"],
6-
"area: Font Optimization": ["**/*font*"],
7-
"area: tests": ["test/**", "bench/**"],
8-
"area: Turbopack": ["packages/next-swc/crates/next-*/**"],
3+
"create-next-app": ["packages/create-next-app/**"],
4+
"documentation": ["docs/**", "errors/**"],
5+
"examples": ["examples/**"],
6+
"Font (next/font)": ["**/*font*"],
7+
"tests": ["test/**", "bench/**"],
8+
"Turbopack": ["packages/next-swc/crates/next-*/**"],
99
"created-by: Chrome Aurora": [
1010
{ "type": "user", "pattern": "atcastle" },
1111
{ "type": "user", "pattern": "devknoll" },
@@ -46,7 +46,7 @@
4646
{ "type": "user", "pattern": "timeyoutakeit" },
4747
{ "type": "user", "pattern": "manovotny" }
4848
],
49-
"created-by: turbopack team": [
49+
"created-by: Turbopack team": [
5050
{ "type": "user", "pattern": "bgw" },
5151
{ "type": "user", "pattern": "ForsakenHarmony" },
5252
{ "type": "user", "pattern": "kdy1" },
@@ -65,7 +65,6 @@
6565
"packages/next-mdx/**",
6666
"packages/next-swc/**",
6767
"packages/next/**",
68-
"packages/react-dev-overlay/**",
6968
"packages/react-refresh-utils/**"
7069
]
7170
}

.github/workflows/triage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- uses: balazsorban44/[email protected]
2121
with:
22-
label-area-prefix: 'area:'
22+
label-area-prefix: 'bug'
2323
label-area-section: 'Which area\(s\) are affected\? \(Select all that apply\)(.*)### Additional context'
2424
label-comments: |
2525
{
@@ -34,5 +34,5 @@ jobs:
3434
reproduction-blocklist: 'github.com/vercel/next.js.*,github.com/\\w*/?$,github.com$'
3535
reproduction-link-section: '### Link to the code that reproduces this issue(.*)### To Reproduce'
3636
reproduction-invalid-label: 'invalid link'
37-
reproduction-issue-labels: 'template: bug,'
37+
reproduction-issue-labels: 'bug,'
3838
comment-unhelpful-weight: 0.5

contributing/repository/triaging.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ Repository maintainers triage every issue and PR opened in the repository.
66
77
Issues are opened with one of these labels:
88

9-
- `template: bug` - unverified issue with Next.js itself
10-
- `template: documentation` - feedback for improvement or an unverified issue with the Next.js documentation
11-
- `area: examples` - an issue with one of the examples in the [`examples`](https://github.com/vercel/next.js/tree/canary/examples) folder
9+
- `bug` - issue with Next.js itself
10+
- `documentation` - feedback for improvement or an issue with the Next.js documentation
11+
- `example bug` - an issue with one of the examples in the [`examples`](https://github.com/vercel/next.js/tree/canary/examples) folder
1212

1313
## Bug reports
1414

1515
### Automated triaging
1616

1717
In case of a bug report, **if the reproduction is missing or insufficient, the issue is automatically closed**, and a comment is added with a correct course of action. The issue will receive [this comment](https://github.com/vercel/next.js/blob/canary/.github/invalid-link.md). We also add an `invalid link` label to mark the issue. To avoid your issue being closed, please follow the [bug report template](https://github.com/vercel/next.js/blob/canary/.github/ISSUE_TEMPLATE/1.bug_report.yml) carefully.
1818

19-
If you filled out the "Which area(s) are affected? (Select all that apply)" section of the bug report template, we will add the corresponding `area:` label(s).
19+
If you fill out the "Which area(s) are affected? (Select all that apply)" section of the bug report template, we will add the corresponding [label(s)](https://github.com/vercel/next.js/labels).
2020

2121
### Manual triaging
2222

@@ -26,7 +26,7 @@ A maintainer can also manually label an issue with one of the following labels,
2626

2727
1. `please add a complete reproduction`
2828

29-
The provided reproduction is not enough for the maintainers to investigate. If a sufficient reproduction is not provided for more than 30 days, the issue becomes stale and will be automatically closed. If a reproduction is provided within 30 days, a `needs triage` label is added, indicating that the issue needs another look from a maintainer.
29+
The provided reproduction is not enough for the maintainers to investigate. If sufficient reproduction is not provided for more than 30 days, the issue becomes stale and will be automatically closed. If a reproduction is provided within 30 days, a `needs triage` label is added, indicating that the issue needs another look from a maintainer.
3030

3131
The issue will receive [this comment](https://github.com/vercel/next.js/blob/canary/.github/comments/invalid-reproduction.md)
3232

@@ -53,7 +53,7 @@ The issue will receive [this comment](https://github.com/vercel/next.js/blob/can
5353

5454
## Verified issues
5555

56-
If an issue is verified, it will receive the `linear: next`, `linear: dx` or `linear: web` label and will be tracked by the maintainers. Additionally, one or more `area:` label(s) can be added to indicate which part of Next.js is affected.
56+
If an issue is verified, it will receive the `linear: next`, `linear: dx` or `linear: web` label and will be tracked by the maintainers. Additionally, one or more [label(s)](https://github.com/vercel/next.js/labels) can be added to indicate which part of Next.js is affected.
5757

5858
Confirmed issues never become stale or are closed before resolution.
5959

release.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// section -> label
22
const sectionLabelMap = {
33
'Core Changes': 'type: next',
4-
'Documentation Changes': 'area: documentation',
5-
'Example Changes': 'area: examples',
4+
'Documentation Changes': 'documentation',
5+
'Example Changes': 'examples',
66
}
77

88
const fallbackSection = 'Misc Changes'

0 commit comments

Comments
 (0)