From 1e1be0dfd7b1183c9a8b516946870c01ec7ce721 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 12 Sep 2021 15:42:22 +0200 Subject: [PATCH] Add GitHub issue templates MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/ISSUE_TEMPLATE/bug_report.yml | 47 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 1 + .github/ISSUE_TEMPLATE/feature_request.yml | 26 ++++++++++++ .github/workflows/greetings.yml | 13 ------ 4 files changed, 74 insertions(+), 13 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml delete mode 100644 .github/workflows/greetings.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..46988d41 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -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 index 00000000..3ba13e0c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -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 index 00000000..d80e0b99 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -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 index d0213942..00000000 --- a/.github/workflows/greetings.yml +++ /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' -- 2.34.1