github: add release info to BUG template
authorChristian Marangi <ansuelsmth@gmail.com>
Mon, 13 Nov 2023 01:01:01 +0000 (02:01 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 15 Nov 2023 09:59:26 +0000 (10:59 +0100)
Add release info to BUG template. Having the reported release is an
additional info to better bisect the bug and what release is affected.

This is also useful in preparation for action that will parse BUG
template and add tag and do validations.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
.github/ISSUE_TEMPLATE/bug-report.yml

index fed2b8de7c95a735f13730632d634ef450b6cc36..2ec7b7d7d8893a48276b31c55aebe4b262da0add 100644 (file)
@@ -19,6 +19,15 @@ body:
         ```. /etc/openwrt_release && echo $DISTRIB_REVISION```
     validations:
       required: true
+  - type: input
+    id: release
+    attributes:
+      label: OpenWrt release
+      description: |
+        The OpenWrt release or commit hash where this bug occurs (use command below).
+        ```. /etc/openwrt_release && echo $DISTRIB_RELEASE```
+    validations:
+      required: true
   - type: input
     id: target
     attributes: