Skip to content

Commit abcfd74

Browse files
simbit18xiaoxiang781216
authored andcommitted
ISSUE_TEMPLATE: fix missing labels
Not all labels are added because there is no match with the label name. issue_labeler.yml os: Linux -> os: linux 001_bug_report.yml Type: bug -> Type: Bug Corrected label in links 002_feature_request.yml Type: enhancement -> Type: Enhancement Corrected label in links 003_help.yml Type: question -> Community: Question Corrected label in links
1 parent 1cb45b0 commit abcfd74

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/ISSUE_TEMPLATE/001_bug_report.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@
1313
name: Bug report
1414
description: Report a bug to improve NuttX stability
1515
title: "[BUG] <title>"
16-
labels: [👀 needs triage, "Type: bug"]
16+
labels: [👀 needs triage, "Type: Bug"]
1717
body:
1818
- type: markdown
1919
attributes:
2020
value: |
2121
Hello NuttX Community member! Please keep things tidy by putting your post in the proper place:
2222
2323
Reporting a bug: use this form.
24-
Asking a question or getting help: use the [General Help](https://github.com/apache/nuttx-apps/issues/new?assignees=&labels=question&projects=&template=003_help.yml&title=help%3A+help+title) form or [Mailing list](https://nuttx.apache.org/community/).
25-
Requesting a new feature: use the [Feature request](https://github.com/apache/nuttx-apps/issues/new?assignees=&labels=enhancement&projects=&template=002_feature_request.yml) form.
24+
Asking a question or getting help: use the [General Help](https://github.com/apache/nuttx-apps/issues/new?assignees=&labels=Community%3A+Question&projects=&template=003_help.yml&title=%5BHELP%5D+%3Ctitle%3E) form or [Mailing list](https://nuttx.apache.org/community/).
25+
Requesting a new feature: use the [Feature request](https://github.com/apache/nuttx-apps/issues/new?assignees=&labels=Type%3A+Enhancement&projects=&template=002_feature_request.yml&title=%5BFEATURE%5D+%3Ctitle%3E) form.
2626
- type: textarea
2727
attributes:
2828
label: "Description / Steps to reproduce the issue"

.github/ISSUE_TEMPLATE/002_feature_request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@
1313
name: Feature request
1414
description: Request an enhancement for NuttX
1515
title: "[FEATURE] <title>"
16-
labels: ["Type: enhancement"]
16+
labels: ["Type: Enhancement"]
1717
body:
1818
- type: markdown
1919
attributes:
2020
value: |
2121
Hello NuttX Community member! Please keep things tidy by putting your post in the proper place:
2222
2323
Requesting a new feature: use this form.
24-
Asking a question or getting help: use the [General Help](https://github.com/apache/nuttx-apps/issues/new?assignees=&labels=question&projects=&template=003_help.yml&title=help%3A+help+title) form or [Mailing list](https://nuttx.apache.org/community/).
25-
Reporting a bug: use the [Bug report](https://github.com/apache/nuttx-apps/issues/new?assignees=&labels=bug&projects=&template=001_bug_report.yml) form.
24+
Asking a question or getting help: use the [General Help](https://github.com/apache/nuttx-apps/issues/new?assignees=&labels=Community%3A+Question&projects=&template=003_help.yml&title=%5BHELP%5D+%3Ctitle%3E) form or [Mailing list](https://nuttx.apache.org/community/).
25+
Reporting a bug: use the [Bug report](https://github.com/apache/nuttx-apps/issues/new?assignees=&labels=%F0%9F%91%80+needs+triage%2CType%3A+Bug&projects=&template=001_bug_report.yml&title=%5BBUG%5D+%3Ctitle%3E) form.
2626
2727
- type: textarea
2828
id: question-description

.github/ISSUE_TEMPLATE/003_help.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@
1313
name: General Help
1414
description: Get general support regarding NuttX
1515
title: "[HELP] <title>"
16-
labels: ["Type: question"]
16+
labels: ["Community: Question"]
1717
body:
1818
- type: markdown
1919
attributes:
2020
value: |
2121
Hello NuttX Community member! Please keep things tidy by putting your post in the proper place:
2222
2323
Asking a question or getting help: use this form or [Mailing list](https://nuttx.apache.org/community/).
24-
Reporting a bug: use the [Bug report](https://github.com/apache/nuttx-apps/issues/new?assignees=&labels=bug&projects=&template=001_bug_report.yml) form.
25-
Requesting a new feature: use the [Feature request](https://github.com/apache/nuttx-apps/issues/new?assignees=&labels=enhancement&projects=&template=002_feature_request.yml) form
24+
Reporting a bug: use the [Bug report](https://github.com/apache/nuttx-apps/issues/new?assignees=&labels=%F0%9F%91%80+needs+triage%2CType%3A+Bug&projects=&template=001_bug_report.yml&title=%5BBUG%5D+%3Ctitle%3E) form.
25+
Requesting a new feature: use the [Feature request](https://github.com/apache/nuttx-apps/issues/new?assignees=&labels=Type%3A+Enhancement&projects=&template=002_feature_request.yml&title=%5BFEATURE%5D+%3Ctitle%3E) form
2626
2727
- type: markdown
2828
attributes:

.github/workflows/issue_labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
script: |
2929
const body = context.payload.issue.body;
3030
const bodySplit = body.split(/\[|\]/).map(e => e.toLowerCase());
31-
const oskeywords = ['os: other', 'os: bsd', 'os: Linux', 'os: mac', 'os: windows'];
31+
const oskeywords = ['os: other', 'os: bsd', 'os: linux', 'os: mac', 'os: windows'];
3232
const archkeywords1 = ['arch: all', 'arch: arm', 'arch: arm64', 'arch: avr', 'arch: ceva'];
3333
const archkeywords2 = ['arch: hc', 'arch: mips', 'arch: misoc', 'arch: openrisc', 'arch:renesas'];
3434
const archkeywords3 = ['arch: risc-v', 'arch: simulator', 'arch: sparc', 'arch: tricore'];

0 commit comments

Comments
 (0)