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 ->Type: Question
Corrected label in links
This commit is contained in:
simbit18 2024-10-21 14:55:15 +02:00 committed by Mateusz Szafoni
parent 8e95f6800b
commit 79073f0177
4 changed files with 10 additions and 10 deletions

View File

@ -13,7 +13,7 @@
name: Bug report name: Bug report
description: Report a bug to improve NuttX stability description: Report a bug to improve NuttX stability
title: "[BUG] <title>" title: "[BUG] <title>"
labels: [👀 needs triage, "Type: bug"] labels: [👀 needs triage, "Type: Bug"]
body: body:
- type: markdown - type: markdown
attributes: attributes:
@ -21,8 +21,8 @@ body:
Hello NuttX Community member! Please keep things tidy by putting your post in the proper place: Hello NuttX Community member! Please keep things tidy by putting your post in the proper place:
Reporting a bug: use this form. Reporting a bug: use this form.
Asking a question or getting help: use the [General Help](https://github.com/apache/nuttx/issues/new?assignees=&labels=question&projects=&template=003_help.yml&title=help%3A+help+title) form or [Mailing list](https://nuttx.apache.org/community/). Asking a question or getting help: use the [General Help](https://github.com/apache/nuttx/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/).
Requesting a new feature: use the [Feature request](https://github.com/apache/nuttx/issues/new?assignees=&labels=enhancement&projects=&template=002_feature_request.yml) form. Requesting a new feature: use the [Feature request](https://github.com/apache/nuttx/issues/new?assignees=&labels=Type%3A+Enhancement&projects=&template=002_feature_request.yml&title=%5BFEATURE%5D+%3Ctitle%3E) form.
- type: textarea - type: textarea
attributes: attributes:
label: "Description / Steps to reproduce the issue" label: "Description / Steps to reproduce the issue"

View File

@ -13,7 +13,7 @@
name: Feature request name: Feature request
description: Request an enhancement for NuttX description: Request an enhancement for NuttX
title: "[FEATURE] <title>" title: "[FEATURE] <title>"
labels: ["Type: enhancement"] labels: ["Type: Enhancement"]
body: body:
- type: markdown - type: markdown
attributes: attributes:
@ -21,8 +21,8 @@ body:
Hello NuttX Community member! Please keep things tidy by putting your post in the proper place: Hello NuttX Community member! Please keep things tidy by putting your post in the proper place:
Requesting a new feature: use this form. Requesting a new feature: use this form.
Asking a question or getting help: use the [General Help](https://github.com/apache/nuttx/issues/new?assignees=&labels=question&projects=&template=003_help.yml&title=help%3A+help+title) form or [Mailing list](https://nuttx.apache.org/community/). Asking a question or getting help: use the [General Help](https://github.com/apache/nuttx/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/).
Reporting a bug: use the [Bug report](https://github.com/apache/nuttx/issues/new?assignees=&labels=bug&projects=&template=001_bug_report.yml) form. Reporting a bug: use the [Bug report](https://github.com/apache/nuttx/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.
- type: textarea - type: textarea
id: question-description id: question-description

View File

@ -13,7 +13,7 @@
name: General Help name: General Help
description: Get general support regarding NuttX description: Get general support regarding NuttX
title: "[HELP] <title>" title: "[HELP] <title>"
labels: ["Type: question"] labels: ["Community: Question"]
body: body:
- type: markdown - type: markdown
attributes: attributes:
@ -21,8 +21,8 @@ body:
Hello NuttX Community member! Please keep things tidy by putting your post in the proper place: Hello NuttX Community member! Please keep things tidy by putting your post in the proper place:
Asking a question or getting help: use this form or [Mailing list](https://nuttx.apache.org/community/). Asking a question or getting help: use this form or [Mailing list](https://nuttx.apache.org/community/).
Reporting a bug: use the [Bug report](https://github.com/apache/nuttx/issues/new?assignees=&labels=bug&projects=&template=001_bug_report.yml) form. Reporting a bug: use the [Bug report](https://github.com/apache/nuttx/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.
Requesting a new feature: use the [Feature request](https://github.com/apache/nuttx/issues/new?assignees=&labels=enhancement&projects=&template=002_feature_request.yml) form Requesting a new feature: use the [Feature request](https://github.com/apache/nuttx/issues/new?assignees=&labels=Type%3A+Enhancement&projects=&template=002_feature_request.yml&title=%5BFEATURE%5D+%3Ctitle%3E) form
- type: markdown - type: markdown
attributes: attributes:

View File

@ -28,7 +28,7 @@ jobs:
script: | script: |
const body = context.payload.issue.body; const body = context.payload.issue.body;
const bodySplit = body.split(/\[|\]/).map(e => e.toLowerCase()); const bodySplit = body.split(/\[|\]/).map(e => e.toLowerCase());
const oskeywords = ['os: other', 'os: bsd', 'os: Linux', 'os: mac', 'os: windows']; const oskeywords = ['os: other', 'os: bsd', 'os: linux', 'os: mac', 'os: windows'];
const archkeywords1 = ['arch: all', 'arch: arm', 'arch: arm64', 'arch: avr', 'arch: ceva']; const archkeywords1 = ['arch: all', 'arch: arm', 'arch: arm64', 'arch: avr', 'arch: ceva'];
const archkeywords2 = ['arch: hc', 'arch: mips', 'arch: misoc', 'arch: openrisc', 'arch:renesas']; const archkeywords2 = ['arch: hc', 'arch: mips', 'arch: misoc', 'arch: openrisc', 'arch:renesas'];
const archkeywords3 = ['arch: risc-v', 'arch: simulator', 'arch: sparc', 'arch: tricore']; const archkeywords3 = ['arch: risc-v', 'arch: simulator', 'arch: sparc', 'arch: tricore'];