github: require user to check all bug report fields
authorWesley Gimenes <[email protected]>
Tue, 3 Jun 2025 06:08:08 +0000 (03:08 -0300)
committerJosef Schlehofer <[email protected]>
Tue, 3 Jun 2025 06:51:43 +0000 (08:51 +0200)
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 <[email protected]>
.github/ISSUE_TEMPLATE/bug_report.yml

index 1bd46a456354e0a6807cd9ae6f4757ff0d78c471..527ec4de7cb3d764130ecf80942857cab80a365b 100644 (file)
@@ -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