From bd507c4c376cc4a116259fe6123afc5230a68158 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Mon, 3 Oct 2022 18:23:40 +0200 Subject: [PATCH] GitHub: move default template to bug_report.md, add config With this commit we prepare for adding multiple issue templates to GitHub that will be shown when the user clicks on the "New Issue" button on GitHub. The config.yml will also add a bunch of useful links to the page that shows the different issue templates. An example of how this template selection page looks like can be found here: https://github.com/lightninglabs/lightning-terminal/issues/new/choose --- .../bug_report.md} | 8 ++++++++ .github/ISSUE_TEMPLATE/config.yml | 11 +++++++++++ 2 files changed, 19 insertions(+) rename .github/{ISSUE_TEMPLATE.md => ISSUE_TEMPLATE/bug_report.md} (69%) create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE/bug_report.md similarity index 69% rename from .github/ISSUE_TEMPLATE.md rename to .github/ISSUE_TEMPLATE/bug_report.md index ce42ab33b..b3eba1d77 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,3 +1,11 @@ +--- +name: Bug report +about: Create a bug report. Please use the discussions section for general or troubleshooting questions. +title: '[bug]: ' +labels: ["bug", "needs triage"] +assignees: '' +--- + ### Background Describe your issue here. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..a2c5c9658 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,11 @@ +blank_issues_enabled: false +contact_links: + - name: Documentation for lnd and lightning-terminal + url: https://docs.lightning.engineering/ + about: Please make sure the documentation cannot answer your question first. + - name: Lightning Community Slack + url: https://lightning.engineering/slack.html + about: Please ask and answer questions here. + - name: Security issue disclosure policy + url: https://github.com/lightningnetwork/lnd#security + about: Please refer to this document when reporting security related issues.