mirror of
https://github.com/ihmily/DouyinLiveRecorder.git
synced 2025-12-25 21:36:46 +08:00
ci: add pr template and issue translator bot
This commit is contained in:
parent
4978e4f917
commit
ff73a9680f
56
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
56
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
@ -0,0 +1,56 @@
|
||||
### 📜 标题(Title)
|
||||
|
||||
**请提供这个Pull Request中提议的更改的简洁描述:**
|
||||
<!-- Please provide a succinct description of the changes proposed in this pull request:. -->
|
||||
|
||||
-
|
||||
|
||||
### 🔍 描述(Description)
|
||||
|
||||
**请描述这个PR做了什么/为什么这些更改是必要的:**
|
||||
<!-- Please describe what this PR does / why these changes are necessary: -->
|
||||
|
||||
-
|
||||
|
||||
### 📝 类型(Type of Change)
|
||||
|
||||
**这个PR引入了哪种类型的更改?(请勾选所有适用的选项)**
|
||||
<!-- What type of change does this PR introduce? (Check all that apply) -->
|
||||
|
||||
- [ ] 修复Bug <!-- Bugfix -->
|
||||
- [ ] 新功能 <!-- Feature -->
|
||||
- [ ] 代码风格更新(格式化,局部变量) <!-- Code style update (formatting, local variables) -->
|
||||
- [ ] 重构(改进代码结构) <!-- Refactoring (improving code structure) -->
|
||||
- [ ] 构建相关更改(依赖项,构建脚本等) <!-- Build-related changes (dependencies, build scripts, etc.) -->
|
||||
- [ ] 其他:_请描述_ <!-- Other: _Please describe_ -->
|
||||
|
||||
### 🏗️ 测试(Testing)
|
||||
|
||||
**请描述您已经进行的测试:**
|
||||
<!-- Please describe the tests you've done: -->
|
||||
|
||||
-
|
||||
|
||||
**如果适用,请提供测试更改的说明:**
|
||||
<!-- If applicable, provide instructions for testing your changes -->
|
||||
|
||||
-
|
||||
|
||||
### 📋 检查清单(Checklist)
|
||||
|
||||
在您创建这个PR之前,请确保以下所有框都被勾选,方法是在每个框中放置一个`x`:
|
||||
<!-- Before you create this PR, please ensure the following boxes are checked by placing an `x` in each box: -->
|
||||
|
||||
- [ ] 我已经阅读了**贡献指南**文档 <!-- I have read the **CONTRIBUTING** document. -->
|
||||
- [ ] 我的更改没有产生新的警告 <!-- My changes generate no new warnings. -->
|
||||
- [ ] 我已经添加了覆盖我更改的测试 <!-- I have added tests to cover my changes.. -->
|
||||
- [ ] 我已经相应地更新了文档(如果适用) <!-- I have updated the documentation accordingly (if applicable). -->
|
||||
- [ ] 我遵循了这个项目的代码风格 <!-- I have followed the code style of this project. -->
|
||||
|
||||
**注意:** 这个PR在所有复选框被勾选之前不会被合并。
|
||||
<!-- **Note:** This PR will not be merged until all checkboxes are ticked. -->
|
||||
|
||||
---
|
||||
|
||||
**感谢您的贡献!**
|
||||
<!-- Thank you for your contribution! -->
|
||||
15
.github/workflows/issue-translator.yml
vendored
Normal file
15
.github/workflows/issue-translator.yml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
name: Issue Translator
|
||||
on:
|
||||
issue_comment:
|
||||
types: [created]
|
||||
issues:
|
||||
types: [opened]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: usthe/issues-translate-action@v2.7
|
||||
with:
|
||||
IS_MODIFY_TITLE: false
|
||||
CUSTOM_BOT_NOTE: Bot detected the issue body's language is not English, translate it automatically.
|
||||
Loading…
x
Reference in New Issue
Block a user