From ca77ad56bb7cc7b9c8f859661a8ebd5db234633c Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Mon, 24 Nov 2025 16:23:51 +0800 Subject: [PATCH] chore(gh): configure issue templates --- .github/ISSUE_TEMPLATE/1-bug_report.yml | 45 ++++++++++---------- .github/ISSUE_TEMPLATE/2-feature_request.yml | 35 +++++++-------- .github/ISSUE_TEMPLATE/3-questions.yml | 31 +++++++------- .github/ISSUE_TEMPLATE/config.yml | 8 ++-- 4 files changed, 61 insertions(+), 58 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1-bug_report.yml b/.github/ISSUE_TEMPLATE/1-bug_report.yml index 5bf150652..4d4b0e710 100644 --- a/.github/ISSUE_TEMPLATE/1-bug_report.yml +++ b/.github/ISSUE_TEMPLATE/1-bug_report.yml @@ -1,6 +1,7 @@ name: "🐞 Bug Report" -description: "报告缺陷来帮助我们完善。 / Create a report to help us improve." -title: "[Bug] 简要描述你发现的缺陷" +description: "Create a report to help us improve. / 报告缺陷来帮助我们完善。" +title: "[Bug] Describe the Bug briefly / 简要描述你发现的缺陷" +type: bug labels: - bug body: @@ -9,13 +10,6 @@ body: value: | ## Welcome! - **在提交 Issue 之前,请确认以下事项**: - 1. 我**确认**已尝试过使用当前最新版本,并能复现问题。由于开发者精力有限,非当前最新版本的问题将被直接关闭,感谢理解。 - 2. 我**确认**已搜索过[已有的 Issues](https://github.com/certimate-go/certimate/issues)(包括已关闭的),没有类似的问题。 - 3. 我**确认**已阅读过[文档](https://docs.certimate.me/),没有类似的问题。 - 4. 请**务必**按照模板规范详细描述问题,否则 Issue 将会被直接关闭。 - 5. 请保持每个 Issue 只包含一个缺陷报告。如果有多个缺陷,请分别提交 Issue。 - **Before you submit the issue, please make sure of the following checklist**: 1. Yes, I'm using the latest release and can reproduce the issue. Issues that are not in the latest version will be closed directly. 2. Yes, I've searched for [existing issues](https://github.com/certimate-go/certimate/issues) (including closed ones) on GitHub and didn't find any similar. @@ -23,25 +17,32 @@ body: 4. Please describe the problem in detail according to the template specification, otherwise the issue will be closed directly. 5. Please limit one report per issue. + **在提交 Issue 之前,请确认以下事项**: + 1. 我**确认**已尝试过使用当前最新版本,并能复现问题。由于开发者精力有限,非当前最新版本的问题将被直接关闭,感谢理解。 + 2. 我**确认**已搜索过[已有的 Issues](https://github.com/certimate-go/certimate/issues)(包括已关闭的),没有类似的问题。 + 3. 我**确认**已阅读过[文档](https://docs.certimate.me/),没有类似的问题。 + 4. 请**务必**按照模板规范详细描述问题,否则 Issue 将会被直接关闭。 + 5. 请保持每个 Issue 只包含一个缺陷报告。如果有多个缺陷,请分别提交 Issue。 + - type: input attributes: - label: 软件版本 / Release Version - description: 请提供 Certimate 的具体版本(请不要填写 `latest` 之类的无效版本号)。 / Please provide the specific version of Certimate. + label: Release Version / 软件版本 + description: Please provide the specific version of Certimate. / 请提供 Certimate 的具体版本(请不要填写 `latest` 之类的无效版本号)。 placeholder: (e.g. v1.0.0. `latest` is **NOT** a valid version!) validations: required: true - type: textarea attributes: - label: 缺陷描述 / Description - description: 请详细清晰地描述你发现的缺陷或故障,如果可能请上传截图。 / Describe the bug you found in detail and clearly, and upload screenshots if possible. + label: Description / 缺陷描述 + description: Describe the bug you found in detail and clearly, and upload screenshots if possible. / 请详细清晰地描述你发现的缺陷或故障,如果可能请上传截图。 validations: required: true - type: textarea attributes: - label: 复现步骤 / Steps to reproduce - description: 请提供可复现的完整步骤。 / Please walk us through it step by step. + label: Steps to reproduce / 复现步骤 + description: Please walk us through it step by step. / 请提供可复现的完整步骤。 placeholder: | 1. ... 2. ... @@ -52,13 +53,13 @@ body: - type: textarea attributes: - label: 日志 / Logs - description: 在此处添加日志信息(如果有的话)。 / Add logs here if available. + label: Logs / 日志 + description: Add logs here if available. / 在此处添加日志信息(如果有的话)。 value: |-
```console - # 请在此粘贴日志 / Paste logs here + # Paste logs here / 请在此粘贴日志 ```
@@ -67,14 +68,14 @@ body: - type: textarea attributes: - label: 其他 / Miscellaneous - description: 在此处添加关于该 Issue 的任何其他信息。 / Add any other context about the issue here. + label: Miscellaneous / 其他 + description: Add any other context about the issue here. / 在此处添加关于该 Issue 的任何其他信息。 validations: required: false - type: checkboxes attributes: - label: 贡献 / Contribution + label: Contribution / 贡献代码 options: - - label: 我乐意为此贡献 PR! / I am interested in contributing a PR for this! + - label: I am interested in contributing a PR for this! / 我乐意为此提交代码并发起 PR! required: false diff --git a/.github/ISSUE_TEMPLATE/2-feature_request.yml b/.github/ISSUE_TEMPLATE/2-feature_request.yml index fdfbc9bb9..8afb94412 100644 --- a/.github/ISSUE_TEMPLATE/2-feature_request.yml +++ b/.github/ISSUE_TEMPLATE/2-feature_request.yml @@ -1,6 +1,7 @@ name: "💡 Feature Request" -description: "提出新功能请求或改进意见。 / Suggest an idea for this project." -title: "[Feature] 简要描述你希望实现的功能" +description: "Suggest an idea for this project. / 提出新功能请求或改进意见。" +title: "[Feature] Describe the feature briefly / 简要描述你希望实现的功能" +type: feature labels: - enhancement body: @@ -9,13 +10,6 @@ body: value: | ## Welcome! - **在提交 Issue 之前,请确认以下事项**: - 1. 我**确认**是基于当前最新大版本而提出的新功能请求或改进意见。 - 2. 我**确认**已搜索过[已有的 Issues](https://github.com/certimate-go/certimate/issues)(包括已关闭的),没有类似的问题。 - 3. 我**确认**已阅读过[文档](https://docs.certimate.me/),没有类似的问题。 - 4. 请**务必**按照模板规范详细描述问题,否则 Issue 将会被直接关闭。 - 5. 请保持每个 Issue 只包含一个功能请求。如果有多个需求,请分别提交 Issue。 - **Before you submit the issue, please make sure of the following checklist**: 1. Yes, I'm using the latest release. 2. Yes, I've searched for [existing issues](https://github.com/certimate-go/certimate/issues) (including closed ones) on GitHub and didn't find any similar. @@ -23,30 +17,37 @@ body: 4. Please describe the problem in detail according to the template specification, otherwise the issue will be closed directly. 5. Please limit one request per issue. + **在提交 Issue 之前,请确认以下事项**: + 1. 我**确认**是基于当前最新大版本而提出的新功能请求或改进意见。 + 2. 我**确认**已搜索过[已有的 Issues](https://github.com/certimate-go/certimate/issues)(包括已关闭的),没有类似的问题。 + 3. 我**确认**已阅读过[文档](https://docs.certimate.me/),没有类似的问题。 + 4. 请**务必**按照模板规范详细描述问题,否则 Issue 将会被直接关闭。 + 5. 请保持每个 Issue 只包含一个功能请求。如果有多个需求,请分别提交 Issue。 + - type: textarea attributes: - label: 功能描述 / Description - description: 请详细清晰地描述你希望添加的功能,如果可能请上传截图。 / Describe the feature you'd like to add in detail and clearly, and upload screenshots if possible. + label: Description / 功能描述 + description: Describe the feature you'd like to add in detail and clearly, and upload screenshots if possible. / 请详细清晰地描述你希望添加的功能,如果可能请上传截图。 validations: required: true - type: textarea attributes: - label: 请求动机 / Motivation - description: 为什么这个功能对项目有帮助? / Why is this feature helpful to the project? + label: Motivation / 请求动机 + description: Why is this feature helpful to the project? / 为什么这个功能对项目有帮助? validations: required: true - type: textarea attributes: - label: 其他 / Miscellaneous - description: 在此处添加关于该 Issue 的任何其他信息(新增提供商请求请补充 API 文档链接等资料)。 / Add any other context about the problem here. + label: Miscellaneous / 其他 + description: Add any other context about the problem here. / 在此处添加关于该 Issue 的任何其他信息(新增提供商请求请补充 API 文档链接等资料)。 validations: required: false - type: checkboxes attributes: - label: 贡献 / Contribution + label: Contribution / 贡献代码 options: - - label: 我乐意为此贡献 PR! / I am interested in contributing a PR for this! + - label: I am interested in contributing a PR for this! / 我乐意为此提交代码并发起 PR! required: false diff --git a/.github/ISSUE_TEMPLATE/3-questions.yml b/.github/ISSUE_TEMPLATE/3-questions.yml index 2f91b86ab..2e011bd4f 100644 --- a/.github/ISSUE_TEMPLATE/3-questions.yml +++ b/.github/ISSUE_TEMPLATE/3-questions.yml @@ -1,19 +1,13 @@ name: "❓ Questions" -description: "遇到了困难需要求助? / Have problem in use and need help?" -title: "简要描述你遇到的问题" +description: "Have problem in use and need help? / 遇到了困难需要求助?" +title: "Describe the question briefly / 简要描述你遇到的问题" +type: question body: - type: markdown attributes: value: | ## Welcome! - **在提交 Issue 之前,请确认以下事项**: - 1. 我**确认**正在使用的是当前最新版本。 - 2. 我**确认**已搜索过[已有的 Issues](https://github.com/certimate-go/certimate/issues)(包括已关闭的),没有类似的问题。 - 3. 我**确认**已阅读过[文档](https://docs.certimate.me/),没有类似的问题。 - 4. 请**务必**按照模板规范详细描述问题,否则 Issue 将会被直接关闭。 - 5. 请保持每个 Issue 只包含一个问题求助。如果有多个问题,请分别提交 Issue。 - **Before you submit the issue, please make sure of the following checklist**: 1. Yes, I'm using the latest release. 2. Yes, I've searched for [existing issues](https://github.com/certimate-go/certimate/issues) (including closed ones) on GitHub and didn't find any similar. @@ -21,24 +15,31 @@ body: 4. Please describe the problem in detail according to the template specification, otherwise the issue will be closed directly. 5. Please limit one question per issue. + **在提交 Issue 之前,请确认以下事项**: + 1. 我**确认**正在使用的是当前最新版本。 + 2. 我**确认**已搜索过[已有的 Issues](https://github.com/certimate-go/certimate/issues)(包括已关闭的),没有类似的问题。 + 3. 我**确认**已阅读过[文档](https://docs.certimate.me/),没有类似的问题。 + 4. 请**务必**按照模板规范详细描述问题,否则 Issue 将会被直接关闭。 + 5. 请保持每个 Issue 只包含一个问题求助。如果有多个问题,请分别提交 Issue。 + - type: input attributes: - label: 软件版本 / Release Version - description: 请提供 Certimate 的具体版本(请不要填写 `latest` 之类的无效版本号)。 / Please provide the specific version of Certimate. + label: Release Version / 软件版本 + description: Please provide the specific version of Certimate. / 请提供 Certimate 的具体版本(请不要填写 `latest` 之类的无效版本号)。 placeholder: (e.g. v1.0.0) validations: required: true - type: textarea attributes: - label: 问题描述 / Description - description: 请详细清晰地描述你遇到的问题,如果可能请上传截图。 / Describe the problem you encountered in detail and clearly, and upload screenshots if possible. + label: Description / 问题描述 + description: Describe the problem you encountered in detail and clearly, and upload screenshots if possible. / 请详细清晰地描述你遇到的问题,如果可能请上传截图。 validations: required: true - type: textarea attributes: - label: 其他 / Miscellaneous - description: 在此处添加关于该问题的任何其他信息。 / Add any other context about the problem here. + label: Miscellaneous / 其他 + description: Add any other context about the problem here. / 在此处添加关于该问题的任何其他信息。 validations: required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 32e80fcee..7ad435d1e 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,8 +1,8 @@ blank_issues_enabled: false contact_links: - - name: "🌐 加入频道讨论" - about: "加入到电报频道寻求更多帮助。 / Join in our Telegram channel." + - name: "🌐 Community / 社群讨论" + about: "Join in our Telegram channel. / 加入到电报频道寻求更多帮助。" url: "https://t.me/+ZXphsppxUg41YmVl" - - name: "📖 常见问题" - about: "请先阅读文档 FAQ,可能会有你需要的答案。 / Please take a look to FAQs." + - name: "📖 FAQ / 常见问题" + about: "Please take a look to FAQs. / 请先阅读文档 FAQ,可能会有你需要的答案。" url: "https://docs.certimate.me/docs/reference/faq"