From b745d70d6db9224609acb12192428966f6ef1fc1 Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Sat, 1 Apr 2023 14:39:25 +0200 Subject: [PATCH] Add issue and pull request templates and configuration (#3463) Signed-off-by: Wouter Born --- .github/ISSUE_TEMPLATE/bug_report.md | 45 ++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 11 +++++ .github/ISSUE_TEMPLATE/feature_request.md | 17 +++++++ .../sitemap_change.md | 2 +- .github/PULL_REQUEST_TEMPLATE.md | 47 +++++++++++++++++++ 5 files changed, 121 insertions(+), 1 deletion(-) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md rename .github/{issue_template => ISSUE_TEMPLATE}/sitemap_change.md (96%) create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000..4c292a99f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,45 @@ +--- +name: "🐛 Bug report" +about: Something isn't working correctly in the Core. This is the wrong place for openHAB user-interface or add-on issues +labels: bug + +--- + + + + + + + + +## Expected Behavior + + + +## Current Behavior + + + + + + + +## Possible Solution + + + +## Steps to Reproduce (for Bugs) + + +1. +2. + +## Context + + + +## Your Environment + +* Version used: (e.g., openHAB and add-on versions) +* Environment name and version (e.g. Chrome 111, Java 17, Node.js 18.15, ...): +* Operating System and version (desktop or mobile, Windows 11, Raspbian Bullseye, ...): diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..b8c32b012 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,11 @@ +blank_issues_enabled: true +contact_links: + - name: 🤔 Support/Usage Question + url: https://community.openhab.org + about: Feel free to ask anything + - name: 📖 Documentation + url: https://www.openhab.org/docs/ + about: Official documentation + - name: 📚 Translation feedback + url: https://crowdin.com/project/openhab-core + about: Share feedback on translations diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 000000000..161681372 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,17 @@ +--- +name: "✨ Feature request" +about: You think that the Core should gain another feature +labels: enhancement + +--- + + + + + + +## Your Environment + +* Version used: (e.g., openHAB and add-on versions) +* Environment name and version (e.g. Chrome 111, Java 17, Node.js 18.15, ...): +* Operating System and version (desktop or mobile, Windows 11, Raspbian Bullseye, ...): diff --git a/.github/issue_template/sitemap_change.md b/.github/ISSUE_TEMPLATE/sitemap_change.md similarity index 96% rename from .github/issue_template/sitemap_change.md rename to .github/ISSUE_TEMPLATE/sitemap_change.md index 52975ceb2..783ca7574 100644 --- a/.github/issue_template/sitemap_change.md +++ b/.github/ISSUE_TEMPLATE/sitemap_change.md @@ -1,5 +1,5 @@ --- -name: Suggest a Sitemap change +name: 🗺 Sitemap change about: 'Suggest a change in the Sitemap syntax and corresponding UIs' labels: sitemap --- diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 000000000..c01cdb58c --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,47 @@ +