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 <wehagy@proton.me>
This commit is contained in:
Wesley Gimenes
2025-06-03 03:08:08 -03:00
committed by Josef Schlehofer
parent 1f189894dc
commit c323222c63

View File

@@ -13,24 +13,32 @@ body:
attributes: attributes:
label: Package Name label: Package Name
placeholder: e.g. iptables, curl, netdata placeholder: e.g. iptables, curl, netdata
validations:
required: true
- type: input - type: input
id: maintainer id: maintainer
attributes: attributes:
label: Maintainer label: Maintainer
placeholder: (@username) placeholder: (@username)
validations:
required: true
- type: input - type: input
id: openwrt-version id: openwrt-version
attributes: attributes:
label: OpenWrt Version label: OpenWrt Version
placeholder: e.g. 23.05.2 or SNAPSHOT placeholder: e.g. 23.05.2 or SNAPSHOT
validations:
required: true
- type: input - type: input
id: target-subtarget id: target-subtarget
attributes: attributes:
label: OpenWrt Target/Subtarget label: OpenWrt Target/Subtarget
placeholder: e.g. ramips/mt76x8, ath79/generic placeholder: e.g. ramips/mt76x8, ath79/generic
validations:
required: true
- type: textarea - type: textarea
id: steps-to-reproduce id: steps-to-reproduce
@@ -43,6 +51,8 @@ body:
3. Observe the issue 3. Observe the issue
Try to avoid uploading screenshots, logs are preferred. Try to avoid uploading screenshots, logs are preferred.
validations:
required: true
- type: textarea - type: textarea
id: actual-behavior id: actual-behavior
@@ -50,6 +60,8 @@ body:
label: Actual Behaviour label: Actual Behaviour
description: What actually happened? Be as detailed as possible. description: What actually happened? Be as detailed as possible.
placeholder: A clear and concise description of what happened. placeholder: A clear and concise description of what happened.
validations:
required: true
- type: markdown - type: markdown
attributes: attributes:
@@ -64,5 +76,8 @@ body:
label: Confirmation Checklist label: Confirmation Checklist
options: options:
- label: The package is maintained in this repository. - 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. - 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. - label: I am reporting an issue for OpenWrt, not an unsupported fork.
required: true