diff --git a/.gitea/ISSUE_TEMPLATE.yaml b/.gitea/ISSUE_TEMPLATE.yaml deleted file mode 100644 index a020121..0000000 --- a/.gitea/ISSUE_TEMPLATE.yaml +++ /dev/null @@ -1,59 +0,0 @@ -name: Bug Report -about: File a bug report -title: "[Bug]: " -body: - - type: markdown - attributes: - value: | - Thanks for taking the time to fill out this bug report! - - type: input - id: contact - attributes: - label: Contact Details - description: How can we get in touch with you if we need more info? - placeholder: ex. email@example.com - validations: - required: false - - type: textarea - id: what-happened - attributes: - label: What happened? - description: Also tell us, what did you expect to happen? - placeholder: Tell us what you see! - value: "A bug happened!" - validations: - required: true - - type: dropdown - id: version - attributes: - label: Version - description: What version of our software are you running? - options: - - 1.0.2 (Default) - - 1.0.3 (Edge) - validations: - required: true - - type: dropdown - id: browsers - attributes: - label: What browsers are you seeing the problem on? - multiple: true - options: - - Firefox - - Chrome - - Safari - - Microsoft Edge - - type: textarea - id: logs - attributes: - label: Relevant log output - description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. - render: shell - - type: checkboxes - id: terms - attributes: - label: Code of Conduct - description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com) - options: - - label: I agree to follow this project's Code of Conduct - required: true \ No newline at end of file diff --git a/.gitea/PULL_REQUEST_TEMPLATE.md b/.gitea/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..d55c061 --- /dev/null +++ b/.gitea/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,44 @@ +--- + +name: "PR" +about: "Bug 反馈模板" +title: "[PR] " +ref: "main" +labels: + +- bug +- feature + +--- + +## 合并请求标题 +[//]: # (提供一个清晰且描述性的标题) + +## 变更描述 +[//]: # (提供对所做变更的简洁明了的描述) +- **变更描述**: + +## 关联的问题 +[//]: # (引用相关的问题/需求,如 #123) +- **关联问题**: + +## 类型 +[//]: # (标记此合并请求的类型:Bug修复、新功能、文档更新等) +- [ ] Bug 修复 +- [ ] 新功能 +- [ ] 文档更新 +- [ ] 其他,请描述: + +## 检查清单 +[//]: # (请检查是否完成了以下事项,并在相应的方框中打勾) +- [ ] 我的代码遵循该项目的代码风格 +- [ ] 我已经自行测试了我的修改 +- [ ] 我已经更新了相应的文档(如果适用) +- [ ] 我已经在标题和描述中清晰地标记了变更类型 + +## 测试说明 +[//]: # (说明如何验证你的变更是有效的,这对于复杂的或需要多步骤验证的变更特别重要) +- **测试步骤**: + +## 其他信息 +[//]: # (任何其他可能有助于理解这个合并请求的信息)