From 794aed5a799477f298d0ffcdb1642a85a1dfb2c8 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Thu, 6 Apr 2023 16:57:06 +0200 Subject: [PATCH] Update and rename 1_Bug_report.md to 1_Bug_report.yml --- .github/ISSUE_TEMPLATE/1_Bug_report.md | 17 --------- .github/ISSUE_TEMPLATE/1_Bug_report.yml | 48 +++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 17 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/1_Bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/1_Bug_report.yml diff --git a/.github/ISSUE_TEMPLATE/1_Bug_report.md b/.github/ISSUE_TEMPLATE/1_Bug_report.md deleted file mode 100644 index ef847892..00000000 --- a/.github/ISSUE_TEMPLATE/1_Bug_report.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -name: "Bug report" -about: 'Report a general library issue. Please ensure your version is still supported: https://laravel.com/docs/releases#support-policy' ---- - -- Fortify Version: #.#.# -- Laravel Version: #.#.# -- PHP Version: #.#.# -- Database Driver & Version: - -### Description: - - -### Steps To Reproduce: - - - diff --git a/.github/ISSUE_TEMPLATE/1_Bug_report.yml b/.github/ISSUE_TEMPLATE/1_Bug_report.yml new file mode 100644 index 00000000..aefa8113 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1_Bug_report.yml @@ -0,0 +1,48 @@ +name: Bug Report +description: "Report a general library issue." +labels: ["bug"] +body: + - type: markdown + attributes: + value: "Before submitting your report, [please ensure your Laravel version is still supported](https://laravel.com/docs/releases#support-policy)." + - type: input + attributes: + label: Fortify Version + description: Provide the Fortify version that you are using. + placeholder: 1.6.1 + validations: + required: true + - type: input + attributes: + label: Laravel Version + description: Provide the Laravel version that you are using. + placeholder: 10.4.1 + validations: + required: true + - type: input + attributes: + label: PHP Version + description: Provide the PHP version that you are using. + placeholder: 8.1.4 + validations: + required: true + - type: input + attributes: + label: Database Driver & Version + description: If applicable, provide the database driver and version you are using. + placeholder: "MySQL 8.0.31 for macOS 13.0 on arm64 (Homebrew)" + validations: + required: false + - type: textarea + attributes: + label: Description + description: Provide a detailed description of the issue you are facing. + validations: + required: true + - type: textarea + attributes: + label: Steps To Reproduce + description: Provide detailed steps to reproduce your issue. If necessary, please provide a GitHub repository to demonstrate your issue using `laravel new bug-report --github="--public"`. + validations: + required: true +