From 7becd60ae57ea69a2e216596c18d56dec3d50631 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 27 Jul 2023 02:34:17 +0200 Subject: [PATCH] docs: update github 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.md | 32 ---------------- .github/ISSUE_TEMPLATE/bug_report.yml | 55 +++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 1 + .github/ISSUE_TEMPLATE/custom.md | 7 ---- 4 files changed, 56 insertions(+), 39 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/ISSUE_TEMPLATE/custom.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index a73b2c8d..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /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 index 00000000..e2a862af --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -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 index 00000000..3ba13e0c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -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 index 96a47352..00000000 --- a/.github/ISSUE_TEMPLATE/custom.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -name: Custom issue template -about: Describe this issue template's purpose here. -title: '' -labels: '' -assignees: '' ---- -- 2.34.1