From 83027c383f26f772842771a6d670642fd36c269a Mon Sep 17 00:00:00 2001 From: "Begonia, HE" <163421589+BegoniaHe@users.noreply.github.com> Date: Fri, 16 Jan 2026 04:01:19 +0100 Subject: chore: add GitHub issue and PR templates with automation workflows - Add bilingual issue templates (English & Chinese) - Bug report template with prerequisite checkboxes - Feature request template - Question template - Reverse checkbox detection ("I have not read carefully") - Add bilingual PR templates (English & Chinese) - Comprehensive checklist for code quality and testing - Test environment documentation section - Breaking changes section - Add GitHub Actions workflows - Auto-labeling based on issue content - Auto-close issues with unchecked prerequisites - Stale issue and PR management (90/60 days) - Add template configuration - External links for discussions and wiki - Template chooser interface --- .../en-pull_request_template.md | 119 +++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE/en-pull_request_template.md (limited to '.github/PULL_REQUEST_TEMPLATE/en-pull_request_template.md') diff --git a/.github/PULL_REQUEST_TEMPLATE/en-pull_request_template.md b/.github/PULL_REQUEST_TEMPLATE/en-pull_request_template.md new file mode 100644 index 0000000..b9b9745 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/en-pull_request_template.md @@ -0,0 +1,119 @@ +# Description + + + +## Type of Change + + + +- [ ] Bug fix (non-breaking change which fixes an issue) +- [ ] New feature (non-breaking change which adds functionality) +- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) +- [ ] Documentation update +- [ ] UI/UX improvement +- [ ] Performance improvement +- [ ] Code refactoring (no functional changes) +- [ ] Configuration change +- [ ] Test addition or update + +## Related Issues + + + +Closes # +Related to # + +## Changes Made + + + +### Backend (Rust) + +- + +### Frontend (Svelte) + +- + +### Configuration + +- + +## Testing + + + +### Test Environment + +- **OS**: +- **DropOut Version**: +- **Minecraft Version Tested**: +- **Mod Loader**: + +### Test Cases + +- [ ] Tested on Windows +- [ ] Tested on macOS +- [ ] Tested on Linux +- [ ] Tested with vanilla Minecraft +- [ ] Tested with Fabric +- [ ] Tested with Forge +- [ ] Tested game launch +- [ ] Tested authentication flow +- [ ] Tested Java detection/download + +### Steps to Test + +1. +2. +3. + +## Checklist + + + +### Code Quality + +- [ ] My code follows the project's style guidelines +- [ ] I have performed a self-review of my own code +- [ ] I have commented my code, particularly in hard-to-understand areas +- [ ] My changes generate no new warnings or errors + +### Testing Verification + +- [ ] I have tested my changes locally +- [ ] I have added tests that prove my fix is effective or that my feature works +- [ ] New and existing unit tests pass locally with my changes +- [ ] I have tested on at least one target platform + +### Documentation + +- [ ] I have updated the documentation accordingly +- [ ] I have updated the README if needed +- [ ] I have added/updated code comments where necessary + +### Dependencies + +- [ ] I have checked that no unnecessary dependencies were added +- [ ] All new dependencies are properly documented +- [ ] `Cargo.lock` and/or `pnpm-lock.yaml` are updated (if dependencies changed) + +## Screenshots / Videos + + + +## Additional Notes + + + +## Breaking Changes + + + +--- + +**For Maintainers:** + +- [ ] Code review completed +- [ ] CI checks passing +- [ ] Ready to merge -- cgit v1.2.3-70-g09d2 From 7955de1f3362777f476759c3c7b2ba083688b0ae Mon Sep 17 00:00:00 2001 From: "Begonia, HE" <163421589+BegoniaHe@users.noreply.github.com> Date: Fri, 16 Jan 2026 04:16:39 +0100 Subject: feat: add LLM-generated code disclosure section to PR templates Add transparency requirement for LLM-assisted contributions with three options: - LLM-generated code with quality assurance - LLM-generated code without quality assurance - No LLM-generated code Available in both English and Chinese templates. --- .github/PULL_REQUEST_TEMPLATE/cn-pull_request_template.md | 8 ++++++++ .github/PULL_REQUEST_TEMPLATE/en-pull_request_template.md | 8 ++++++++ 2 files changed, 16 insertions(+) (limited to '.github/PULL_REQUEST_TEMPLATE/en-pull_request_template.md') diff --git a/.github/PULL_REQUEST_TEMPLATE/cn-pull_request_template.md b/.github/PULL_REQUEST_TEMPLATE/cn-pull_request_template.md index 3a6b749..abcbaa1 100644 --- a/.github/PULL_REQUEST_TEMPLATE/cn-pull_request_template.md +++ b/.github/PULL_REQUEST_TEMPLATE/cn-pull_request_template.md @@ -16,6 +16,14 @@ - [ ] 配置更改 - [ ] 测试添加或更新 +## LLM 生成代码声明 + + + +- [ ] 此 PR 包含 LLM 生成的代码,我**提供**质量担保 +- [ ] 此 PR 包含 LLM 生成的代码,我**不提供**质量担保 +- [ ] 此 PR 不包含 LLM 生成的代码 + ## 相关 Issue diff --git a/.github/PULL_REQUEST_TEMPLATE/en-pull_request_template.md b/.github/PULL_REQUEST_TEMPLATE/en-pull_request_template.md index b9b9745..79a8148 100644 --- a/.github/PULL_REQUEST_TEMPLATE/en-pull_request_template.md +++ b/.github/PULL_REQUEST_TEMPLATE/en-pull_request_template.md @@ -16,6 +16,14 @@ - [ ] Configuration change - [ ] Test addition or update +## LLM-Generated Code Disclosure + + + +- [ ] This PR contains LLM-generated code, and I **provide** quality assurance +- [ ] This PR contains LLM-generated code, and I **do not provide** quality assurance +- [ ] This PR does not contain LLM-generated code + ## Related Issues -- cgit v1.2.3-70-g09d2