From 79073f0177422f3ad1934a76d254565e4277e7f8 Mon Sep 17 00:00:00 2001 From: simbit18 <101105604+simbit18@users.noreply.github.com> Date: Mon, 21 Oct 2024 14:55:15 +0200 Subject: [PATCH] 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 --- .github/ISSUE_TEMPLATE/001_bug_report.yml | 6 +++--- .github/ISSUE_TEMPLATE/002_feature_request.yml | 6 +++--- .github/ISSUE_TEMPLATE/003_help.yml | 6 +++--- .github/workflows/issue_labeler.yml | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/001_bug_report.yml b/.github/ISSUE_TEMPLATE/001_bug_report.yml index ce542917bd..7675772db9 100644 --- a/.github/ISSUE_TEMPLATE/001_bug_report.yml +++ b/.github/ISSUE_TEMPLATE/001_bug_report.yml @@ -13,7 +13,7 @@ name: Bug report description: Report a bug to improve NuttX stability title: "[BUG] " -labels: [👀 needs triage, "Type: bug"] +labels: [👀 needs triage, "Type: Bug"] body: - type: markdown attributes: @@ -21,8 +21,8 @@ body: Hello NuttX Community member! Please keep things tidy by putting your post in the proper place: 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/). - 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. + 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=Type%3A+Enhancement&projects=&template=002_feature_request.yml&title=%5BFEATURE%5D+%3Ctitle%3E) form. - type: textarea attributes: label: "Description / Steps to reproduce the issue" diff --git a/.github/ISSUE_TEMPLATE/002_feature_request.yml b/.github/ISSUE_TEMPLATE/002_feature_request.yml index 726d9d5330..7db210c099 100644 --- a/.github/ISSUE_TEMPLATE/002_feature_request.yml +++ b/.github/ISSUE_TEMPLATE/002_feature_request.yml @@ -13,7 +13,7 @@ name: Feature request description: Request an enhancement for NuttX title: "[FEATURE] <title>" -labels: ["Type: enhancement"] +labels: ["Type: Enhancement"] body: - type: markdown attributes: @@ -21,8 +21,8 @@ body: Hello NuttX Community member! Please keep things tidy by putting your post in the proper place: 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/). - Reporting a bug: use the [Bug report](https://github.com/apache/nuttx/issues/new?assignees=&labels=bug&projects=&template=001_bug_report.yml) form. + 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=%F0%9F%91%80+needs+triage%2CType%3A+Bug&projects=&template=001_bug_report.yml&title=%5BBUG%5D+%3Ctitle%3E) form. - type: textarea id: question-description diff --git a/.github/ISSUE_TEMPLATE/003_help.yml b/.github/ISSUE_TEMPLATE/003_help.yml index 03b14a3bb8..ae400fa57e 100644 --- a/.github/ISSUE_TEMPLATE/003_help.yml +++ b/.github/ISSUE_TEMPLATE/003_help.yml @@ -13,7 +13,7 @@ name: General Help description: Get general support regarding NuttX title: "[HELP] <title>" -labels: ["Type: question"] +labels: ["Community: Question"] body: - type: markdown attributes: @@ -21,8 +21,8 @@ body: 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/). - Reporting a bug: use the [Bug report](https://github.com/apache/nuttx/issues/new?assignees=&labels=bug&projects=&template=001_bug_report.yml) 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 + 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=Type%3A+Enhancement&projects=&template=002_feature_request.yml&title=%5BFEATURE%5D+%3Ctitle%3E) form - type: markdown attributes: diff --git a/.github/workflows/issue_labeler.yml b/.github/workflows/issue_labeler.yml index 7241b30c9f..904c23b0c6 100644 --- a/.github/workflows/issue_labeler.yml +++ b/.github/workflows/issue_labeler.yml @@ -28,7 +28,7 @@ jobs: script: | const body = context.payload.issue.body; 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 archkeywords2 = ['arch: hc', 'arch: mips', 'arch: misoc', 'arch: openrisc', 'arch:renesas']; const archkeywords3 = ['arch: risc-v', 'arch: simulator', 'arch: sparc', 'arch: tricore'];