Add GitHub issue templates
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 12 Sep 2021 13:42:22 +0000 (15:42 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 12 Sep 2021 13:42:22 +0000 (15:42 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
.github/ISSUE_TEMPLATE/bug_report.yml [new file with mode: 0644]
.github/ISSUE_TEMPLATE/config.yml [new file with mode: 0644]
.github/ISSUE_TEMPLATE/feature_request.yml [new file with mode: 0644]
.github/workflows/greetings.yml [deleted file]

diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644 (file)
index 0000000..46988d4
--- /dev/null
@@ -0,0 +1,47 @@
+name: 'Bug report'
+title: [BUG]
+description: Create a bug report
+body:
+  - type: markdown
+    attributes:
+      value: |
+        Thank you for reporting an issue.
+
+        This issue tracker is for bugs and issues found in charging-stations-simulator.
+
+        Please fill in as much of the template below as you're able.
+  - type: checkboxes
+    attributes:
+      options:
+        - label:
+            I've searched for any related issues and avoided creating a
+            duplicate issue.
+          required: true
+  - type: textarea
+    attributes:
+      label: Description
+      description:
+        Description of the bug.
+  - type: input
+    attributes:
+      label: charging-stations-simulator version
+  - type: input
+    attributes:
+      label: Node.js Version
+      description: Output of `node -v`.
+  - type: textarea
+    attributes:
+      label: System
+      description: Output of `npx envinfo --system`.
+  - type: textarea
+    attributes:
+      label: Expected result
+      description: What you expected to happen.
+  - type: textarea
+    attributes:
+      label: Actual result
+      description: What actually happened.
+  - type: textarea
+    attributes:
+      label: Attachments
+      description: Logs, 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/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
new file mode 100644 (file)
index 0000000..d80e0b9
--- /dev/null
@@ -0,0 +1,26 @@
+name: 'Feature request'
+title: [FEATURE]
+description: Suggest a feature
+body:
+  - type: markdown
+    attributes:
+      value: |
+        Thank you for reporting an feature request.
+
+        This issue tracker is for feature requests in charging-stations-simulator.
+  - type: checkboxes
+    attributes:
+      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 feature.
+  - type: textarea
+    attributes:
+      label: Attachments
+      description: Logs, screenshots, screencast, etc.
diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml
deleted file mode 100644 (file)
index d021394..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-name: Greetings
-
-on: [pull_request, issues]
-
-jobs:
-  greeting:
-    runs-on: ubuntu-latest
-    steps:
-    - uses: actions/first-interaction@v1
-      with:
-        repo-token: ${{ secrets.GITHUB_TOKEN }}
-        issue-message: 'Welcome to your first issue in e-Mobility software'
-        pr-message: 'Welcome to your first PR in e-Mobility software'