From 4c639961f5bbf6a74ed8f78485fcebed90dab67c Mon Sep 17 00:00:00 2001 From: Chenhe Gu Date: Mon, 11 Dec 2023 23:25:17 +0800 Subject: [PATCH] add self checks to issues and discussions templates (#1742) --- .github/ISSUE_TEMPLATE/bug_report.yml | 11 +++++++++-- .github/ISSUE_TEMPLATE/document_issue.yml | 6 ++++++ .github/ISSUE_TEMPLATE/feature_request.yml | 6 ++++++ .github/ISSUE_TEMPLATE/help_wanted.yml | 7 +++++++ .github/ISSUE_TEMPLATE/translation_issue.yml | 10 ++++++++-- 5 files changed, 36 insertions(+), 4 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 83e401cbc423d8..8894a087cb1e71 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -3,9 +3,16 @@ description: Report errors or unexpected behavior [please use English :)] labels: - bug body: -- type: markdown +- type: checkboxes attributes: - value: Please make sure to [search for existing issues](https://github.com/langgenius/dify/issues) before filing a new one! + label: Self Checks + description: "To make sure we get to you in time, please check the following :)" + options: + - label: I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. + required: true + - label: I confirm that I am using English to file this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). + required: true + - type: input attributes: label: Dify version diff --git a/.github/ISSUE_TEMPLATE/document_issue.yml b/.github/ISSUE_TEMPLATE/document_issue.yml index d21ba88390c84f..8446040a9dd9b3 100644 --- a/.github/ISSUE_TEMPLATE/document_issue.yml +++ b/.github/ISSUE_TEMPLATE/document_issue.yml @@ -3,6 +3,12 @@ description: Report issues in our documentation [please use English :)] labels: - ducumentation body: +- type: checkboxes + attributes: + label: Self Checks + description: "To make sure we get to you in time, please check the following :)" + - label: I confirm that I am using English to file this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). + required: true - type: textarea attributes: label: Provide a description of requested docs changes diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 2819479a3b7f16..9a4ad31dc8568f 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -3,6 +3,12 @@ description: Propose something new. [please use English :)] labels: - enhancement body: +- type: checkboxes + attributes: + label: Self Checks + description: "To make sure we get to you in time, please check the following :)" + - label: I confirm that I am using English to file this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). + required: true - type: textarea attributes: label: Description of the new feature / enhancement diff --git a/.github/ISSUE_TEMPLATE/help_wanted.yml b/.github/ISSUE_TEMPLATE/help_wanted.yml index 03fac2f3e83c96..4ded41e65fc4b5 100644 --- a/.github/ISSUE_TEMPLATE/help_wanted.yml +++ b/.github/ISSUE_TEMPLATE/help_wanted.yml @@ -3,6 +3,13 @@ description: "Request help from the community" [please use English :)] labels: - help-wanted body: +- type: checkboxes + attributes: + label: Self Checks + description: "To make sure we get to you in time, please check the following :)" + options: + - label: I confirm that I am using English to file this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). + required: true - type: textarea attributes: label: Provide a description of the help you need diff --git a/.github/ISSUE_TEMPLATE/translation_issue.yml b/.github/ISSUE_TEMPLATE/translation_issue.yml index 51e4adcc08bc31..eca5c0f5bbcc22 100644 --- a/.github/ISSUE_TEMPLATE/translation_issue.yml +++ b/.github/ISSUE_TEMPLATE/translation_issue.yml @@ -3,9 +3,15 @@ description: Report incorrect translations. [please use English :)] labels: - translation body: -- type: markdown +- type: checkboxes attributes: - value: Please make sure to [search for existing issues](https://github.com/langgenius/dify/issues) before filing a new one! + label: Self Checks + description: "To make sure we get to you in time, please check the following :)" + options: + - label: I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. + required: true + - label: I confirm that I am using English to file this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). + required: true - type: input attributes: label: Dify version