Skip to content

Commit

Permalink
更新 issue 模板与构建脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
Gu-ZT committed May 10, 2024
1 parent c15ed82 commit b96f392
Show file tree
Hide file tree
Showing 4 changed files with 137 additions and 1 deletion.
83 changes: 83 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: Bug Report - Bug反馈
description: Create a report to help us improve. - 反馈问题,帮助我们改进
title: "[Bug] "
labels:
- 🐛 bug

body:
- type: markdown
attributes:
value: |
Before filling in this `issue`, please make sure that there are no similar or duplicate `issues` that have been opened.
填写此 `issue` 前,请先确认已经开启的 `issue` 没有类似或重复的 `issue`。
- type: dropdown
id: system
attributes:
label: OS Version - 操作系统
options:
- Linux
- Windows
- MacOS
validations:
required: true

- type: input
id: mc_version
attributes:
label: Minecraft Version Details - Minecraft 版本信息
description: |
What version of Minecraft do you use?
你使用的 Minecraft 版本是什么
placeholder: Minecraft version
validations:
required: true

- type: input
id: version
attributes:
label: Version Details - 版本信息
description: |
What version of Mod do you use?
你使用的 Mod 版本是什么
placeholder: Mod version
validations:
required: true

- type: textarea
id: exist
attributes:
label: Existing behavior - 现有行为
description: |
Please describe the problem you have encountered carefully.
请仔细描述你所遇到的问题。
validations:
required: true

- type: textarea
id: expect
attributes:
label: Expected behavior - 预期行为
description: |
Please describe in detail the results you wish to achieve.
请仔细描述你要得到的结果。
validations:
required: true

- type: textarea
id: reproduce
attributes:
label: To Reproduce - 复现问题
description: |
How do you trigger this bug? Please walk us through it step by step.
这个bug是怎么触发的?请详细告诉我们是怎样出现这个情况的。
validations:
required: false

- type: checkboxes
id: know
attributes:
label: This issue is unique - 这个issue是唯一的
options:
- label: I have searched the issue tracker and did not find an issue describing my bug. - 我已经搜索问题追踪器并且没有发现相同的 issue。
required: true
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Feature request - 功能请求
description: Suggest an idea for this project - 为这个项目推荐一个新想法
title: "[Feature] "
labels:
- 🪁 enhancement

body:
- type: markdown
attributes:
value: |
Before filling in this `issue`, please make sure that there are no similar or duplicate `issues` that have been opened.
填写此 `issue` 前,请先确认已经开启的 `issue` 没有类似或重复的 `issue`。
- type: textarea
attributes:
label: What new features do you want? - 你想要什么新功能?
description: |
What new feature or change you want? How it improves? Please tell us the requirements is with a clear and detailed description, put your screenshots if possible.
你想要什么新功能或者什么改变?这会带来什么提升?请清晰而详细地描述你的需求,如果可以的话最好附带截图。
validations:
required: true

- type: checkboxes
id: know
attributes:
label: This issue is unique - 这个issue是唯一的
options:
- label: I have searched the issue tracker and did not find an issue describing my bug. - 我已经搜索问题追踪器并且没有发现相同的 issue。
required: true
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/todo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: TODO
description: Add a to-do list for a project - 添加一个项目的待做事项
title: "[TODO] "
labels:
- 📋️ TODO

body:
- type: markdown
attributes:
value: |
这是一个项目内部使用的 `issue` 模板,请不要使用这个模板!
This is an internal `issue` template for a project, please do not use this template!
- type: input
attributes:
label: Matters to be added to TODO - 将要加入TODO的事项
validations:
required: true

- type: textarea
attributes:
label: Describe what this TODO will do - 描述这个TODO要做的事情
validations:
required: false
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build Mod

on:
push:
branches: [ '1.19.x' ]
branches: [ '1.20.x' ]
paths:
- src/**
- build.gradle
Expand Down

0 comments on commit b96f392

Please sign in to comment.