Просмотр исходного кода

github: add release info to BUG template

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 <[email protected]>
Christian Marangi 2 лет назад
Родитель
Сommit
a4735359aa
1 измененных файлов с 9 добавлено и 0 удалено
  1. 9 0
      .github/ISSUE_TEMPLATE/bug-report.yml

+ 9 - 0
.github/ISSUE_TEMPLATE/bug-report.yml

@@ -19,6 +19,15 @@ body:
         ```. /etc/openwrt_release && echo $DISTRIB_REVISION```
         ```. /etc/openwrt_release && echo $DISTRIB_REVISION```
     validations:
     validations:
       required: true
       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
   - type: input
     id: target
     id: target
     attributes:
     attributes: