github: Use GitHub Issue Forms with yaml

This replaces the old issue templates with the new one.
It is going to reflect changes and require more details.

Issue Forms as also used in the main repository and in LuCI,
it helps users to create structured issue.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This commit is contained in:
Josef Schlehofer
2025-06-02 12:38:18 +02:00
parent e36b727d99
commit 67dc75f941
2 changed files with 68 additions and 16 deletions

68
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View File

@@ -0,0 +1,68 @@
name: Package Bug Report
description: Report an issue with a package in this repository
title: "<package-name>: <short description>"
labels: [bug]
body:
- type: markdown
attributes:
value: |
# 📦 Package Details
- type: input
id: package-name
attributes:
label: Package Name
placeholder: e.g. iptables, curl, netdata
- type: input
id: maintainer
attributes:
label: Maintainer
placeholder: (@username)
- type: input
id: openwrt-version
attributes:
label: OpenWrt Version
placeholder: e.g. 23.05.2 or SNAPSHOT
- type: input
id: target-subtarget
attributes:
label: OpenWrt Target/Subtarget
placeholder: e.g. ramips/mt76x8, ath79/generic
- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to Reproduce
description: Please list the steps that lead to the issue.
placeholder: |
1. Do this
2. Then this
3. Observe the issue
Try to avoid uploading screenshots, logs are preferred.
- type: textarea
id: actual-behavior
attributes:
label: Actual Behaviour
description: What actually happened? Be as detailed as possible.
placeholder: A clear and concise description of what happened.
- type: markdown
attributes:
value: |
# ✅ Formalities
Before submitting this issue, please confirm the following:
- type: checkboxes
id: confirmations
attributes:
label: Confirmation Checklist
options:
- label: The package is maintained in this repository.
- 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 am reporting an issue for OpenWrt, not an unsupported fork.

View File

@@ -1,16 +0,0 @@
Please make sure that the issue subject starts with `<package-name>: `
Also make sure that the package is maintained in this repository and not in base which should be submitted at https://bugs.openwrt.org or in the LuCI repository which should be submitted at https://github.com/openwrt/luci/issues.
Issues related to releases below 18.06 and forks are not supported or maintained and will be closed.
# Issue template (remove lines from top till here)
Maintainer: @\<github-user> (find it by checking history of the package Makefile)
Environment: (put here arch, model, OpenWrt version)
Description:
```
Format code blocks by wrapping them with pairs of ```
```