From 7c5dd8f73f3ae09389b775b182ae632903b090bb Mon Sep 17 00:00:00 2001 From: Thomas Poignant Date: Fri, 29 Jul 2022 19:38:56 +0200 Subject: [PATCH] [skip ci] Use yaml template Signed-off-by: Thomas Poignant --- .github/ISSUE_TEMPLATE/bug.md | 22 ------------------ .github/ISSUE_TEMPLATE/bug.yaml | 27 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/change.md | 16 -------------- .github/ISSUE_TEMPLATE/change.yaml | 17 ++++++++++++++ .github/ISSUE_TEMPLATE/documentation.md | 11 --------- .github/ISSUE_TEMPLATE/documentation.yaml | 11 +++++++++ .github/ISSUE_TEMPLATE/feature.md | 12 ---------- .github/ISSUE_TEMPLATE/feature.yaml | 13 +++++++++++ 8 files changed, 68 insertions(+), 61 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug.md create mode 100644 .github/ISSUE_TEMPLATE/bug.yaml delete mode 100644 .github/ISSUE_TEMPLATE/change.md create mode 100644 .github/ISSUE_TEMPLATE/change.yaml delete mode 100644 .github/ISSUE_TEMPLATE/documentation.md create mode 100644 .github/ISSUE_TEMPLATE/documentation.yaml delete mode 100644 .github/ISSUE_TEMPLATE/feature.md create mode 100644 .github/ISSUE_TEMPLATE/feature.yaml diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md deleted file mode 100644 index 55fac5bf2b6..00000000000 --- a/.github/ISSUE_TEMPLATE/bug.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -name: Bug Report -about: Found a bug? We are sorry about that! Let us know! 🐛 -labels: bug, needs-triage -title: "(bug) " ---- - -# Observed behavior - - -# Expected behavior - - - -# Steps to reproduce - diff --git a/.github/ISSUE_TEMPLATE/bug.yaml b/.github/ISSUE_TEMPLATE/bug.yaml new file mode 100644 index 00000000000..722d92d7c33 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yaml @@ -0,0 +1,27 @@ +name: 🐞 Bug Report +description: Found a bug? We are sorry about that! Let us know! 🐛 +title: "(bug) " +labels: [bug, needs-triage] +body: + - type: textarea + attributes: + label: Observed behavior + description: | + What are you trying to do? + Describe what you think went wrong during this. + validations: + required: true + - type: textarea + attributes: + label: Expected Behavior + description: A concise description of what you expected to happen. + validations: + required: true + - type: textarea + attributes: + label: Steps to reproduce + description: | + Describe as much as you can the problem. + Please provide us scenario file, logs or anything you have that can help us to understand. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/change.md b/.github/ISSUE_TEMPLATE/change.md deleted file mode 100644 index 26186cb54fd..00000000000 --- a/.github/ISSUE_TEMPLATE/change.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -name: Change -about: Update functionality that already exists. -labels: change, needs-triage -title: "(change) " ---- - -# Motivation -<!-- -Give us information why do we need to change how it works. ---> - -# Requirements -<!-- -What this change is supposed to do? ---> diff --git a/.github/ISSUE_TEMPLATE/change.yaml b/.github/ISSUE_TEMPLATE/change.yaml new file mode 100644 index 00000000000..bc086f20458 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/change.yaml @@ -0,0 +1,17 @@ +name: ↩ Change +description: Update functionality that already exists. +title: "(change) <title>" +labels: [change, needs-triage] +body: + - type: textarea + attributes: + label: Motivation + description: Give us information why do we need to change how it works. + validations: + required: false + - type: textarea + attributes: + label: Requirements + description: What this change is supposed to do? + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/documentation.md b/.github/ISSUE_TEMPLATE/documentation.md deleted file mode 100644 index 6d3e16f80fd..00000000000 --- a/.github/ISSUE_TEMPLATE/documentation.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -name: Documentation -about: Any documentation related issue/addition. -labels: documentation, needs-triage -title: "(doc) " ---- - -# Change in the documentation -<!-- -What should we add/remove/update in the documentation ---> diff --git a/.github/ISSUE_TEMPLATE/documentation.yaml b/.github/ISSUE_TEMPLATE/documentation.yaml new file mode 100644 index 00000000000..466403e6681 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/documentation.yaml @@ -0,0 +1,11 @@ +name: 📚 Documentation +description: Any documentation related issue/addition. 📒 +title: "(doc) <title>" +labels: [documentation, needs-triage] +body: + - type: textarea + attributes: + label: Change in the documentation + description: What should we add/remove/update in the documentation + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/feature.md b/.github/ISSUE_TEMPLATE/feature.md deleted file mode 100644 index f176193c0c2..00000000000 --- a/.github/ISSUE_TEMPLATE/feature.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -name: Feature -about: Add new functionality to the project. -labels: enhancement, needs-triage -title: "(feature) " ---- - -# Requirements -<!-- -Ask us what do you want! -Please provide as many details as possible and describe how it should work. ---> diff --git a/.github/ISSUE_TEMPLATE/feature.yaml b/.github/ISSUE_TEMPLATE/feature.yaml new file mode 100644 index 00000000000..ad90aa26289 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yaml @@ -0,0 +1,13 @@ +name: ⚙️ Feature +description: Add new functionality to the project. +title: "(feature) <title>" +labels: [enhancement, needs-triage] +body: + - type: textarea + attributes: + label: Requirements + description: | + Ask us what do you want! + Please provide us scenario file, logs or anything you have that can help us to understand. + validations: + required: true