From 06ff08ff81448d5beca9dccb5906af69fe0df7ff Mon Sep 17 00:00:00 2001 From: GreasySlug <9619abgoni@gmail.com> Date: Wed, 28 Dec 2022 17:26:50 +0900 Subject: [PATCH] update: change template file form md to yaml --- .../{bug_report.yaml => bug-report.yaml} | 12 ++-- .github/ISSUE_TEMPLATE/code-issue-report.yaml | 44 +++++++++++++ .github/ISSUE_TEMPLATE/code-issue.md | 10 --- .../unintended-behavior-report.md | 28 --------- .../unintended-behavior-report.yaml | 62 +++++++++++++++++++ 5 files changed, 114 insertions(+), 42 deletions(-) rename .github/ISSUE_TEMPLATE/{bug_report.yaml => bug-report.yaml} (85%) create mode 100644 .github/ISSUE_TEMPLATE/code-issue-report.yaml delete mode 100644 .github/ISSUE_TEMPLATE/code-issue.md delete mode 100644 .github/ISSUE_TEMPLATE/unintended-behavior-report.md create mode 100644 .github/ISSUE_TEMPLATE/unintended-behavior-report.yaml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug-report.yaml similarity index 85% rename from .github/ISSUE_TEMPLATE/bug_report.yaml rename to .github/ISSUE_TEMPLATE/bug-report.yaml index 21a965d8..5a1a0448 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug-report.yaml @@ -1,4 +1,4 @@ -name: 🐛 Bug report +name: 🐛 Bug Report description: Create a report to help us improve labels: - bug @@ -39,11 +39,15 @@ body: validations: required: true - - type: input + - type: dropdown attributes: label: Python version - validations: - required: false + options: + - Python3.7.x + - Python3.8.x + - Python3.9.x + - Python3.10.x + - Python3.11.x - type: dropdown attributes: diff --git a/.github/ISSUE_TEMPLATE/code-issue-report.yaml b/.github/ISSUE_TEMPLATE/code-issue-report.yaml new file mode 100644 index 00000000..9dfd7ae3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/code-issue-report.yaml @@ -0,0 +1,44 @@ +name: Code Issue +description: Improve the Erg code base +labels: + - code-issue +body: + - type: textarea + attributes: + label: Describe the code issue? + validations: + required: true + + - type: textarea + attributes: + label: Additional context + validations: + required: false + + - type: input + attributes: + label: Erg version + validations: + required: true + + - type: dropdown + attributes: + label: Python version + options: + - Python3.7.x + - Python3.8.x + - Python3.9.x + - Python3.10.x + - Python3.11.x + + - type: dropdown + attributes: + label: OS + options: + - Windows 10 + - Windows 11 + - MacOS 12 (Monterey) + - MacOS 11 (Big Sur) + - Ubuntu + - Linux(other distro) + - Other (write in `Additional context`) diff --git a/.github/ISSUE_TEMPLATE/code-issue.md b/.github/ISSUE_TEMPLATE/code-issue.md deleted file mode 100644 index 4ec319b9..00000000 --- a/.github/ISSUE_TEMPLATE/code-issue.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -name: Code issue -about: Improve the Erg code base -title: '' -labels: code-issue -assignees: '' - ---- - - diff --git a/.github/ISSUE_TEMPLATE/unintended-behavior-report.md b/.github/ISSUE_TEMPLATE/unintended-behavior-report.md deleted file mode 100644 index ec2bd75d..00000000 --- a/.github/ISSUE_TEMPLATE/unintended-behavior-report.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -name: Unintended behavior report -about: Create a report to help us improve -title: '' -labels: unintended-behavior -assignees: '' - ---- - -**Describe the behavior** - -**Reproducible code** -Steps to reproduce the behavior: - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Current behavior** - -**Screenshots (optional)** -If applicable, add screenshots to help explain your problem. - -**OS** - e.g. Windows 11 (WSL2) -If it is an obvious environment-independent bug (e.g. type inference bug), it is not necessary - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/unintended-behavior-report.yaml b/.github/ISSUE_TEMPLATE/unintended-behavior-report.yaml new file mode 100644 index 00000000..434681a0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/unintended-behavior-report.yaml @@ -0,0 +1,62 @@ +name: Unintended Behavior Report +description: Create a report to help us improve +labels: + - unintended-behavior +body: + - type: textarea + attributes: + label: Describe the behavior? + validations: + required: true + + - type: textarea + attributes: + label: Reproducible code + validations: + required: false + + - type: textarea + attributes: + label: Expected result + validations: + required: false + + - type: textarea + attributes: + label: Actual result + validations: + required: false + + - type: textarea + attributes: + label: Additional context + validations: + required: false + + - type: input + attributes: + label: Erg version + validations: + required: true + + - type: dropdown + attributes: + label: Python version + options: + - Python3.7.x + - Python3.8.x + - Python3.9.x + - Python3.10.x + - Python3.11.x + + - type: dropdown + attributes: + label: OS + options: + - Windows 10 + - Windows 11 + - MacOS 12 (Monterey) + - MacOS 11 (Big Sur) + - Ubuntu + - Linux(other distro) + - Other (write in `Additional context`)