Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Follow-up of #43228. This PR adds a new [GitHub Action](https://github.com/github/issue-labeler) that matches the issue's body for the [dropdown list items](https://github.com/vercel/next.js/blame/6cacd5a7c46fb1bb86c536031140da92863ce451/.github/ISSUE_TEMPLATE/1.bug_report.yml#L26-L48) and adds the relevant labels to the issue for triaging automatically.
- Loading branch information
1 parent
fbc98ab
commit 4ee933d
Showing
6 changed files
with
85 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# https://github.com/github/issue-labeler#basic-examples | ||
|
||
# Should match the list "Which area(s) of Next.js are affected?" in: | ||
# https://github.com/vercel/next.js/blob/canary/.github/ISSUE_TEMPLATE/1.bug_report.yml | ||
'area: app': | ||
- 'App directory (appDir: true)' | ||
'area: create-next-app': | ||
- 'CLI (create-next-app)' | ||
'area: data fetching': | ||
- 'Data fetching (gS(S)P, getInitialProps)' | ||
'area: next/dynamic': | ||
- 'Dynamic imports (next/dynamic)' | ||
'area: ESLint': | ||
- 'ESLint (eslint-config-next)' | ||
'area: Font Optimization': | ||
- 'Font optimization (@next/font)' | ||
'area: next/head / head.js': | ||
- 'Head component/file (next/head / head.js)' | ||
'area: I18n': | ||
- 'Internationalzation (i18n)' | ||
'area: next/image': | ||
- 'Image optmization (next/image, next/legacy/image)' | ||
'area: Jest': | ||
- 'Jest (next/jest)' | ||
'area: Edge': | ||
- 'Middleware / Edge (API routes, runtime)' | ||
'area: package manager': | ||
- 'Package manager (npm, pnpm, Yarn)' | ||
'area: Routing': | ||
- 'Routing (next/router, next/navigation, next/link)' | ||
'area: next/script': | ||
- 'Script optimizatzion (next/script)' | ||
'area: standalone mode': | ||
- 'Standalone mode (output: "standalone")' | ||
'area: export': | ||
- 'Static HTML Export (next export)' | ||
'area: SWC Minify': | ||
- 'SWC minifier (swcMinify: true)' | ||
'area: SWC transforms': | ||
- 'SWC transpilation' | ||
'area: Turbopack': | ||
- 'Turbopack (--turbo)' | ||
'area: TypeScript': | ||
- 'TypeScript' | ||
# Less used/old/redundant labels | ||
# area: AMP | ||
# area: API routes | ||
# area: Application Code | ||
# area: Codemods | ||
# area: Compiler Performance | ||
# area: Compiler | ||
# area: Concurrent Features | ||
# area: Debugger | ||
# area: Developer Experience | ||
# area: Ecosystem | ||
# area: experimental | ||
# area: Middleware | ||
# area: Reliability | ||
# area: Repository Maintenance | ||
# area: Server Components | ||
# area: Static Generation | ||
# area: styled-jsx | ||
# area: Tracing | ||
# area: URL Imports |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# https://github.com/github/issue-labeler#create-workflow | ||
|
||
name: Label issues | ||
|
||
on: | ||
issues: | ||
types: [opened] | ||
|
||
jobs: | ||
triage: | ||
if: '${{ github.event.label.name == "template: bug" }}' | ||
name: Triage | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: github/issue-labeler@v2.5 | ||
with: | ||
repo-token: '${{ secrets.GITHUB_TOKEN }}' | ||
configuration-path: '.github/issue-labeler.yml' | ||
enable-versioned-regex: 0 |
File renamed without changes.
File renamed without changes.
File renamed without changes.