Skip to content

Commit

Permalink
feat: Enhance issue templates with required fields and updated labels
Browse files Browse the repository at this point in the history
- Add required validation for priority field in bug-english.yml
- Update label for configuration sync in bug-chinese.yml
- Add required validation for priority field in bug-chinese.yml
  • Loading branch information
EvanNotFound committed Dec 2, 2024
1 parent 97be405 commit de3ea1c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE/bug-chinese.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ body:
required: true
- label: 我已更新到[最新版本](https://redefine-docs.ohevan.com/getting-started#%E6%9B%B4%E6%96%B0)
required: true
- label: 我已确认[同步了主题配置文件](https://redefine-docs.ohevan.com/getting-started#%E8%BF%81%E7%A7%BB%E9%85%8D%E7%BD%AE)
- label: 我已确认[同步了主题最新配置文件](https://redefine-docs.ohevan.com/getting-started#%E8%BF%81%E7%A7%BB%E9%85%8D%E7%BD%AE)
required: true

- type: textarea
Expand Down Expand Up @@ -98,6 +98,8 @@ body:

- type: dropdown
id: priority
validations:
required: true
attributes:
label: 优先级
description: 请根据问题的严重程度选择优先级
Expand Down
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-english.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ body:

- type: dropdown
id: priority
validations:
required: true
attributes:
label: "Priority"
description: "Please select the priority based on the severity of the issue."
Expand Down

0 comments on commit de3ea1c

Please sign in to comment.