docs: update github templates
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 27 Jul 2023 00:34:17 +0000 (02:34 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 27 Jul 2023 00:34:17 +0000 (02:34 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.github/ISSUE_TEMPLATE/bug_report.md [deleted file]
.github/ISSUE_TEMPLATE/bug_report.yml [new file with mode: 0644]
.github/ISSUE_TEMPLATE/config.yml [new file with mode: 0644]
.github/ISSUE_TEMPLATE/custom.md [deleted file]

diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
deleted file mode 100644 (file)
index a73b2c8..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
----
-name: Bug report
-about: Create a report to help us improve
-title: BUG_
-labels: ''
-assignees: ''
----
-
-**Describe the bug**
-A clear and concise description of what the bug is.
-
-**Steps to reproduce the behavior**
-Steps to reproduce the behavior.
-
-**Expected behavior**
-A clear and concise description of what you expected to happen.
-
-**Screenshots**
-If applicable, add screenshots to help explain your problem.
-
-**Info**
-
-| Tool      | Version       |
-| --------- | ------------- |
-| Poolifier | v2.x.x        |
-| Node      | v12.x.x       |
-| OS        | win,linux,mac |
-
-**Additional context**
-
-- If you can please specify at least a draft of your worker (if it is an async function or not is also important)
-- Indicate which pool type are you using (i.e. FixedThreadPool) and with which options (num of thread, and so on)
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644 (file)
index 0000000..e2a862a
--- /dev/null
@@ -0,0 +1,55 @@
+name: Bug report
+description: File a bug report
+title: '[BUG]'
+labels: ['bug', 'triage']
+
+body:
+  - type: markdown
+    attributes:
+      value: |
+        Thank you for reporting an issue.
+
+        This issue tracker is for bugs and issues found in e-mobility-charging-stations-simulator.
+        Any misuse of this issue tracker will be closed immediately.
+
+        Please fill in as much of the template below as you're able.
+  - type: checkboxes
+    attributes:
+      label: Duplicate issue
+      options:
+        - label: I've searched for any related issues and avoided creating a duplicate issue.
+          required: true
+  - type: textarea
+    attributes:
+      label: Description
+      description: A clear and concise description of the bug.
+  - type: textarea
+    attributes:
+      label: Expected behavior
+      description: A clear and concise description of what you expected to happen.
+  - type: textarea
+    attributes:
+      label: Actual behavior
+      description: A clear and concise description of what actually happened.
+  - type: textarea
+    attributes:
+      label: Steps to reproduce
+      description: Steps to reproduce the bug.
+      placeholder: |
+        - If you can please specify at least a draft of your worker (if it is an async function or not is also important)
+        - Indicate which pool type are you using (i.e. FixedThreadPool) and with which options (number of threads, and so on)
+  - type: input
+    attributes:
+      label: poolifier version
+  - type: input
+    attributes:
+      label: Node.js version
+      description: Output of `node -v`.
+  - type: textarea
+    attributes:
+      label: System
+      description: Output of `npx --yes envinfo --system`.
+  - type: textarea
+    attributes:
+      label: Attachments
+      description: Logs, configurations, screenshots, screencast, etc.
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644 (file)
index 0000000..3ba13e0
--- /dev/null
@@ -0,0 +1 @@
+blank_issues_enabled: false
diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md
deleted file mode 100644 (file)
index 96a4735..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
----
-name: Custom issue template
-about: Describe this issue template's purpose here.
-title: ''
-labels: ''
-assignees: ''
----