Skip to content
This repository was archived by the owner on Dec 4, 2025. It is now read-only.

Commit c902619

Browse files
authored
Merge pull request #868 from linwumingshi/ci/template
feat: 📝 update issue template And Update PR CI GitHub Actions workflow
2 parents 5ed744d + 46213dd commit c902619

4 files changed

Lines changed: 245 additions & 65 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ body:
66
attributes:
77
value: |
88
Thanks for taking the time to fill out this bug report!
9+
10+
If you use the version is not the latest version, please upgrade to the latest version and try again!
911
1012
- type: input
1113
id: contact
@@ -20,7 +22,7 @@ body:
2022
id: version
2123
attributes:
2224
label: Version
23-
description: What version of smart-doc are you running?
25+
description: What version of smart-doc are you running? (If you use the version is not the latest version, please upgrade to the latest version and try again!)
2426
placeholder: ex. 3.0.5
2527
validations:
2628
required: true
@@ -57,23 +59,23 @@ body:
5759
- type: textarea
5860
id: bug-description
5961
attributes:
60-
label: Describe the bug(BUG描述,社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
62+
label: Describe the bug (Bug描述,社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
6163
description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us in the description. Thanks!
6264
validations:
6365
required: true
6466

6567
- type: textarea
6668
id: expected-behavior
6769
attributes:
68-
label: Expected Behavior(您期望的结果,社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
70+
label: Expected Behavior (您期望的结果,社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
6971
description: If you're describing a bug, tell us what should happen.If you're suggesting a change/improvement, tell us how it should work
7072
validations:
7173
required: true
7274

7375
- type: textarea
7476
id: current-behavior
7577
attributes:
76-
label: Current Behavior(当前结果,社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
78+
label: Current Behavior (当前结果,社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
7779
description: If describing a bug, tell us what happens instead of the expected behavior.If suggesting a change/improvement, explain the difference from current behavior
7880
validations:
7981
required: true
@@ -90,24 +92,24 @@ body:
9092
- type: textarea
9193
id: possible-solution
9294
attributes:
93-
label: Possible Solution(Bug解决建议,社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
95+
label: Possible Solution (Bug解决建议,社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
9496
description: Not obligatory, but suggest a fix/reason for the bug,or ideas how to implement the addition or change
9597

9698
- type: textarea
9799
id: context
98100
attributes:
99-
label: Context(Bug影响描述,社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
101+
label: Context (Bug影响描述,社区已开启国际化推广,请用文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
100102
description: How has this issue affected you? What are you trying to accomplish? If you're suggesting a change/improvement, tell us how it should work
101103

102104
- type: checkboxes
103105
id: checkboxes
104106
attributes:
105107
label: Validations
106-
description: Before submitting the issue, please make sure you do the following(在提交问题之前,请确保执行以下操作)
108+
description: Before submitting the issue, please make sure you do the following (在提交问题之前,请确保执行以下操作)
107109
options:
108-
- label: Check if you're on the [latest smart-doc version](https://github.com/TongchengOpenSource/smart-doc/releases/latest).
110+
- label: Check if you're on the [latest smart-doc version](https://github.com/TongchengOpenSource/smart-doc/releases/latest). (请检查是否为最新版本)
109111
required: true
110-
- label: Read the [docs](https://smart-doc-group.github.io/).
112+
- label: Read the [docs](https://smart-doc-group.github.io/). (请先阅读官方文档)
111113
required: true
112-
- label: Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
114+
- label: Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. (检查是否存在报告相同错误的问题,以避免产生重复)
113115
required: true

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,40 +17,40 @@ body:
1717
- type: textarea
1818
id: basic-example
1919
attributes:
20-
label: Basic example(pr的用例,社区已开启国际化推广,请文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
20+
label: Basic example (PR的用例,社区已开启国际化推广,请文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
2121
description: If the proposal involves a new or changed API, include a basic code example. Omit this section if it's not applicable.
2222
validations:
2323
required: true
2424

2525
- type: textarea
2626
id: suggested-solution
2727
attributes:
28-
label: Describe the solution you'd like(描述您想要的解决方案,社区已开启国际化推广,请文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
28+
label: Describe the solution you'd like (描述您想要的解决方案,社区已开启国际化推广,请文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
2929
description: A clear and concise description of what you want to happen.
3030
validations:
3131
required: true
3232

3333
- type: textarea
3434
id: alternative
3535
attributes:
36-
label: Describe alternatives you've considered(描述你考虑过的替代方案,社区已开启国际化推广,请文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
36+
label: Describe alternatives you've considered (描述你考虑过的替代方案,社区已开启国际化推广,请文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
3737
description: A clear and concise description of any alternative solutions or features you've considered.
3838

3939
- type: textarea
4040
id: additional-context
4141
attributes:
42-
label: Additional context(其他背景信息,社区已开启国际化推广,请文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
42+
label: Additional context (其他背景信息,社区已开启国际化推广,请文心一言、讯飞星火等辅助翻译成英文,减少社区开发者的工作)
4343
description: Add any other context or screenshots about the feature request here.
4444

4545
- type: checkboxes
4646
id: checkboxes
4747
attributes:
4848
label: Validations
49-
description: Before submitting the issue, please make sure you do the following(在提交问题之前,请确保执行以下操作)
49+
description: Before submitting the issue, please make sure you do the following (在提交问题之前,请确保执行以下操作)
5050
options:
51-
- label: Read the [docs](https://smart-doc-group.github.io/).
51+
- label: Read the [docs](https://smart-doc-group.github.io/). (请先阅读官方文档)
5252
required: true
53-
- label: Read the [Contributing Guidelines](https://smart-doc-group.github.io/guide/community/contributing).
53+
- label: Read the [Contributing Guidelines](https://smart-doc-group.github.io/guide/community/contributing). (请先阅读官方文档·贡献指南)
5454
required: true
55-
- label: Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
55+
- label: Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. (检查是否存在报告相同错误的问题,以避免产生重复)
5656
required: true

.github/workflows/build-and-install-plugin.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)