Unverified Commit 6a9a3920 authored by Balázs Orbán's avatar Balázs Orbán Committed by GitHub

chore: update labels in workflows/templates (#63713)

parent 31921728
name: Bug Report name: Bug Report
description: Create a bug report for the Next.js core description: Create a bug report for the Next.js core
labels: ['template: bug'] labels: ['bug']
body: body:
- type: markdown - type: markdown
attributes: attributes:
...@@ -71,29 +71,30 @@ body: ...@@ -71,29 +71,30 @@ body:
multiple: true multiple: true
options: options:
- 'Not sure' - 'Not sure'
- 'App Router' - 'create-next-app'
- 'CLI (create-next-app)' - 'Documentation'
- 'Data fetching (gS(S)P, getInitialProps)' - 'Lazy Loading'
- 'Dynamic imports (next/dynamic)' - 'Font (next/font)'
- 'ESLint (eslint-config-next)' - 'Image (next/image)'
- 'Font optimization (next/font)' - 'Instrumentation'
- 'Image optimization (next/image, next/legacy/image)'
- 'Internationalization (i18n)' - 'Internationalization (i18n)'
- 'Jest (next/jest)' - 'Linting'
- 'MDX (@next/mdx)' - 'Markdown (MDX)'
- 'Metadata (metadata, generateMetadata, next/head)' - 'Metadata'
- 'Middleware / Edge (API routes, runtime)' - 'Middleware'
- 'Module resolution (CJS / ESM, module resolving)' - 'Output (export/standalone)'
- 'Operating System (Windows, MacOS, Linux)' - 'Pages Router'
- 'Package manager (npm, pnpm, Yarn)' - 'Parallel & Intercepting Routes'
- 'Routing (next/router, next/navigation, next/link)' - 'Partial Prerendering (PPR)'
- 'Script optimization (next/script)' - 'Performance'
- 'Standalone mode (output: "standalone")' - 'Runtime'
- 'Static HTML Export (output: "export")' - 'Script (next/script)'
- 'SWC minifier (swcMinify: true)' - 'Testing'
- 'SWC transpilation' - 'Turbopack'
- 'Turbopack (--turbo)' - 'TypeScript'
- 'TypeScript (plugin, built-in types)' - 'SWC'
- 'Upstream'
validations: validations:
required: true required: true
- type: dropdown - type: dropdown
......
name: Bug Report for Examples name: Bug Report for Examples
description: Create a bug report for one of the Next.js examples description: Create a bug report for one of the Next.js examples
labels: ['area: examples'] labels: ['example bug']
body: body:
- type: markdown - type: markdown
attributes: attributes:
......
...@@ -2,7 +2,7 @@ name: 'Docs Request for an Update or Improvement' ...@@ -2,7 +2,7 @@ name: 'Docs Request for an Update or Improvement'
description: A request to update or improve Next.js documentation description: A request to update or improve Next.js documentation
title: 'Docs: ' title: 'Docs: '
labels: labels:
- 'template: documentation' - 'documentation'
body: body:
- type: markdown - type: markdown
attributes: attributes:
......
{ {
"labels": { "labels": {
"area: create-next-app": ["packages/create-next-app/**"], "create-next-app": ["packages/create-next-app/**"],
"area: documentation": ["docs/**", "errors/**"], "documentation": ["docs/**", "errors/**"],
"area: examples": ["examples/**"], "examples": ["examples/**"],
"area: Font Optimization": ["**/*font*"], "Font (next/font)": ["**/*font*"],
"area: tests": ["test/**", "bench/**"], "tests": ["test/**", "bench/**"],
"area: Turbopack": ["packages/next-swc/crates/next-*/**"], "Turbopack": ["packages/next-swc/crates/next-*/**"],
"created-by: Chrome Aurora": [ "created-by: Chrome Aurora": [
{ "type": "user", "pattern": "atcastle" }, { "type": "user", "pattern": "atcastle" },
{ "type": "user", "pattern": "devknoll" }, { "type": "user", "pattern": "devknoll" },
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
{ "type": "user", "pattern": "timeyoutakeit" }, { "type": "user", "pattern": "timeyoutakeit" },
{ "type": "user", "pattern": "manovotny" } { "type": "user", "pattern": "manovotny" }
], ],
"created-by: turbopack team": [ "created-by: Turbopack team": [
{ "type": "user", "pattern": "bgw" }, { "type": "user", "pattern": "bgw" },
{ "type": "user", "pattern": "ForsakenHarmony" }, { "type": "user", "pattern": "ForsakenHarmony" },
{ "type": "user", "pattern": "kdy1" }, { "type": "user", "pattern": "kdy1" },
...@@ -65,7 +65,6 @@ ...@@ -65,7 +65,6 @@
"packages/next-mdx/**", "packages/next-mdx/**",
"packages/next-swc/**", "packages/next-swc/**",
"packages/next/**", "packages/next/**",
"packages/react-dev-overlay/**",
"packages/react-refresh-utils/**" "packages/react-refresh-utils/**"
] ]
} }
......
...@@ -19,7 +19,7 @@ jobs: ...@@ -19,7 +19,7 @@ jobs:
steps: steps:
- uses: balazsorban44/nissuer@1.9.2 - uses: balazsorban44/nissuer@1.9.2
with: with:
label-area-prefix: 'area:' label-area-prefix: 'bug'
label-area-section: 'Which area\(s\) are affected\? \(Select all that apply\)(.*)### Additional context' label-area-section: 'Which area\(s\) are affected\? \(Select all that apply\)(.*)### Additional context'
label-comments: | label-comments: |
{ {
...@@ -34,5 +34,5 @@ jobs: ...@@ -34,5 +34,5 @@ jobs:
reproduction-blocklist: 'github.com/vercel/next.js.*,github.com/\\w*/?$,github.com$' reproduction-blocklist: 'github.com/vercel/next.js.*,github.com/\\w*/?$,github.com$'
reproduction-link-section: '### Link to the code that reproduces this issue(.*)### To Reproduce' reproduction-link-section: '### Link to the code that reproduces this issue(.*)### To Reproduce'
reproduction-invalid-label: 'invalid link' reproduction-invalid-label: 'invalid link'
reproduction-issue-labels: 'template: bug,' reproduction-issue-labels: 'bug,'
comment-unhelpful-weight: 0.5 comment-unhelpful-weight: 0.5
...@@ -6,9 +6,9 @@ Repository maintainers triage every issue and PR opened in the repository. ...@@ -6,9 +6,9 @@ Repository maintainers triage every issue and PR opened in the repository.
Issues are opened with one of these labels: Issues are opened with one of these labels:
- `template: bug` - unverified issue with Next.js itself - `bug` - issue with Next.js itself
- `template: documentation` - feedback for improvement or an unverified issue with the Next.js documentation - `documentation` - feedback for improvement or an issue with the Next.js documentation
- `area: examples` - an issue with one of the examples in the [`examples`](https://github.com/vercel/next.js/tree/canary/examples) folder - `example bug` - an issue with one of the examples in the [`examples`](https://github.com/vercel/next.js/tree/canary/examples) folder
## Bug reports ## Bug reports
...@@ -16,7 +16,7 @@ Issues are opened with one of these labels: ...@@ -16,7 +16,7 @@ Issues are opened with one of these labels:
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. 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.
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). 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).
### Manual triaging ### Manual triaging
...@@ -26,7 +26,7 @@ A maintainer can also manually label an issue with one of the following labels, ...@@ -26,7 +26,7 @@ A maintainer can also manually label an issue with one of the following labels,
1. `please add a complete reproduction` 1. `please add a complete reproduction`
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. 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.
The issue will receive [this comment](https://github.com/vercel/next.js/blob/canary/.github/comments/invalid-reproduction.md) The issue will receive [this comment](https://github.com/vercel/next.js/blob/canary/.github/comments/invalid-reproduction.md)
...@@ -53,7 +53,7 @@ The issue will receive [this comment](https://github.com/vercel/next.js/blob/can ...@@ -53,7 +53,7 @@ The issue will receive [this comment](https://github.com/vercel/next.js/blob/can
## Verified issues ## Verified issues
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. 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.
Confirmed issues never become stale or are closed before resolution. Confirmed issues never become stale or are closed before resolution.
......
// section -> label // section -> label
const sectionLabelMap = { const sectionLabelMap = {
'Core Changes': 'type: next', 'Core Changes': 'type: next',
'Documentation Changes': 'area: documentation', 'Documentation Changes': 'documentation',
'Example Changes': 'area: examples', 'Example Changes': 'examples',
} }
const fallbackSection = 'Misc Changes' const fallbackSection = 'Misc Changes'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment