From b3a23f53198841754aeb18d3d7cf52aae33a29ee Mon Sep 17 00:00:00 2001 From: Paul Rotmann Date: Tue, 27 May 2025 16:31:22 +0200 Subject: [PATCH] Insert issue templates and modify bugreport --- .github/ISSUE_TEMPLATE/bugreport.yml | 23 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 8 ++++++++ 2 files changed, 31 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bugreport.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/bugreport.yml b/.github/ISSUE_TEMPLATE/bugreport.yml new file mode 100644 index 00000000..685b6dcd --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bugreport.yml @@ -0,0 +1,23 @@ +name: "🐛 Bug Report" +description: "Found a bug in our project? Create a report to help us improve." +body: + - type: markdown + attributes: + value: "Thanks for helping improve Ratchet by reporting a bug! + Please check [existing Issues](https://github.com/ratchetphp/Ratchet/issues) before submitting." + + - type: textarea + id: reproduction + attributes: + label: "Reproduction Steps" + description: "Exact steps to reproduce (include code samples)" + validations: + required: true + + - type: textarea + id: environment + attributes: + label: "Runtime Environment" + placeholder: "PHP version, Ratchet version, etc." + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..20412b48 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: true +contact_links: + - name: "Ratchet Discussions" + url: https://github.com/ratchetphp/Ratchet/discussions + about: 'We are happy to answer your questions! Start a new discussion in our "Q&A" category.' + - name: "Feature Requests" + url: https://github.com/ratchetphp/Ratchet/discussions/categories/ideas + about: 'You have ideas to improve our project? Start a new discussion in our "Ideas" category.'