From c323222c63f39f0d57c6ad196121ab28f83e3ff2 Mon Sep 17 00:00:00 2001 From: Wesley Gimenes Date: Tue, 3 Jun 2025 03:08:08 -0300 Subject: [PATCH] github: require user to check all bug report fields Previously, users could leave fields blank, resulting in missing information in the bug report. Now, it is mandatory for all fields to be filled out, ensuring that no essential information is overlooked. Signed-off-by: Wesley Gimenes --- .github/ISSUE_TEMPLATE/bug_report.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 1bd46a4563..527ec4de7c 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -13,24 +13,32 @@ body: attributes: label: Package Name placeholder: e.g. iptables, curl, netdata + validations: + required: true - type: input id: maintainer attributes: label: Maintainer placeholder: (@username) + validations: + required: true - type: input id: openwrt-version attributes: label: OpenWrt Version placeholder: e.g. 23.05.2 or SNAPSHOT + validations: + required: true - type: input id: target-subtarget attributes: label: OpenWrt Target/Subtarget placeholder: e.g. ramips/mt76x8, ath79/generic + validations: + required: true - type: textarea id: steps-to-reproduce @@ -43,6 +51,8 @@ body: 3. Observe the issue Try to avoid uploading screenshots, logs are preferred. + validations: + required: true - type: textarea id: actual-behavior @@ -50,6 +60,8 @@ body: label: Actual Behaviour description: What actually happened? Be as detailed as possible. placeholder: A clear and concise description of what happened. + validations: + required: true - type: markdown attributes: @@ -64,5 +76,8 @@ body: label: Confirmation Checklist options: - label: The package is maintained in this repository. + required: true - label: I understand that issues related to [the base OpenWrt repository](https://github.com/openwrt/openwrt/issues) or [LuCI repository](https://github.com/openwrt/luci/issues) will be closed. + required: true - label: I am reporting an issue for OpenWrt, not an unsupported fork. + required: true -- 2.30.2