From 02634f8e439e767eb769793ce60628097bc38a8f Mon Sep 17 00:00:00 2001 From: Nick Olinger Date: Mon, 27 Jan 2020 11:24:06 +0900 Subject: [PATCH 1/2] configure bug report issue template --- .github/ISSUE_TEMPLATE.md | 13 -------- .github/ISSUE_TEMPLATE/bug_report.md | 47 +++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/bug_report.yml | 6 ++++ 3 files changed, 53 insertions(+), 13 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index 706bde4eb4..0000000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,13 +0,0 @@ - - -**Do you want to request a *feature* or report a *bug*?** - - -**What is the current behavior?** - -**If the current behavior is a bug, please provide the steps to reproduce.** - - -**What is the expected behavior?** - -**Please mention your node.js, yarn and operating system version.** diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000000..175b23fb5b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,47 @@ +--- +name: Bug report +about: Create a report +--- + + + + + + + +### Bug description + + +**Command** + +```sh +yarn [your command] +``` + +**What is the current behavior?** + + + +**What is the expected behavior?** + + + +**Steps to Reproduce** + + +1. +2. + +**Environment** + +- Node Version: `x.x.x` +- Yarn v1 Version: `1.x.x` +- OS and version: diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000000..a35a80442a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,6 @@ + +blank_issues_enabled: false +contact_links: + - name: Yarn v1 documentation + url: https://legacy.yarnpkg.com/en/docs + about: Please visit the documentation for v1.x.x before opening a bug report \ No newline at end of file From 6b5cb7a4afb11e3c43f3326e88625a3bf6bc9d83 Mon Sep 17 00:00:00 2001 From: Christoph Nakazawa Date: Mon, 27 Jan 2020 09:15:43 +0000 Subject: [PATCH 2/2] Update bug_report.yml --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index a35a80442a..89e05efb1a 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -3,4 +3,4 @@ blank_issues_enabled: false contact_links: - name: Yarn v1 documentation url: https://legacy.yarnpkg.com/en/docs - about: Please visit the documentation for v1.x.x before opening a bug report \ No newline at end of file + about: Please visit the documentation for v1.x.x before opening a bug report