Skip to content

Commit 0fea2fa

Browse files
committed
Revert "贡献方针大修;简化包内 README (#2857)"
This reverts commit 650096c.
1 parent 650096c commit 0fea2fa

34 files changed

+550
-1360
lines changed

.github/ISSUE_TEMPLATE/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: I18n自动汉化更新模组问题
4-
url: https://github.com/CFPAOrg/I18nUpdateMod3/issues/new
5-
about: 前往I18n自动汉化更新模组仓库反馈
4+
url: https://github.com/CFPAOrg/I18nUpdateMod2/issues/new
5+
about: 前往I18n自动汉化更新模组仓库进行反馈

.github/boring-cyborg.yml

+2-8
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,17 @@ labelPRBasedOnFilePath:
1515
1.19.x:
1616
- "projects/1.19/**"
1717
# - "projects/1.19-fabric/**"
18-
19-
1.20.x:
20-
- "projects/1.20/**"
21-
- "projects/1.20-fabric/**"
2218

2319
Forge:
2420
- "projects/1.12.2/**"
2521
- "projects/1.16/**"
2622
- "projects/1.18/**"
2723
- "projects/1.19/**"
28-
- "projects/1.20/**"
2924

3025
Fabric:
3126
- "projects/1.16-fabric/**"
3227
- "projects/1.18-fabric/**"
3328
# - "projects/1.19-fabric/**"
34-
- "projects/1.20-fabric/**"
3529

3630
Patchouli:
3731
- "projects/**/patchouli_books/**"
@@ -95,7 +89,7 @@ firstPRMergeComment: >
9589
# Verifies if commit/PR titles match the regexp specified
9690
verifyTitles:
9791
# Regular expression that should be matched by titles of commits or PR
98-
titleRegexp: ^[A-Za-z\s]+\s[\u4e00-\u9fa5]+$
92+
titleRegexp: ^(\[[A-Z,]{1,}\]|[\u4e00-\u9fa5]*|)\s*[A-Za-z\s]+\s*[\u4e00-\u9fa5]*.*$
9993
# If set to true, it will always check the PR title (as opposed to the individual commits).
10094
alwaysUsePrTitle: true
10195
# If set to true, it will only check the commit in case there is a single commit.
@@ -112,7 +106,7 @@ verifyTitles:
112106
successMessage: "你的标题是正确的,感谢你的配合。"
113107
# A custom message to be displayed when the title fails validation.
114108
# Allows insertion of ${type} (commit/PR), ${title} (the title validated) and ${regex} (the titleRegexp above).
115-
failureMessage: "${type}标题不合规。应为“模组英文名+简要说明”的格式"
109+
failureMessage: "错误的${type}标题:${title}。请检查是否符合“模组英文名+简要说明”的格式"
116110

117111
###### PR/Branch Up-To-Date Checker ####################################################################################
118112
# Check if the branch is up to date with master when certain files are modified

.github/config.json

+37-27
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,64 @@
1-
# labeler.yml 中的 Videndum/label-mastermind 的配置文件,已废弃。
21
{
32
"labels": {
43
"s": {
54
"name": "10+",
65
"color": "c5def5",
7-
"description": "改动行数标签。"
6+
"description": "Size label."
87
},
98
"xs": {
109
"name": "1+",
1110
"color": "c5def5",
12-
"description": "改动行数标签。"
11+
"description": "Size label."
1312
},
1413
"m": {
1514
"name": "40+",
1615
"color": "c5def5",
17-
"description": "改动行数标签。"
16+
"description": "Size label."
1817
},
1918
"l": {
2019
"name": "100+",
2120
"color": "c5def5",
22-
"description": "改动行数标签。"
21+
"description": "Size label."
2322
},
2423
"xl": {
2524
"name": "500+",
2625
"color": "c5def5",
27-
"description": "改动行数标签。"
26+
"description": "Size label."
2827
},
2928
"xxl": {
3029
"name": "1000+",
3130
"color": "c5def5",
32-
"description": "改动行数标签。"
31+
"description": "Size label."
3332
},
3433
"xxxl": {
3534
"name": "2000+",
3635
"color": "c5def5",
37-
"description": "改动行数标签。"
36+
"description": "Size label."
3837
},
3938
"xxxxl": {
4039
"name": "5000+",
4140
"color": "c5def5",
42-
"description": "改动行数标签。"
41+
"description": "Size label."
4342
},
4443
"bug": {
4544
"name": "bug",
4645
"color": "ee0701",
4746
"description": "Bug."
4847
},
48+
"wip": {
49+
"name": "in progress",
50+
"color": "ededed",
51+
"description": "WIP"
52+
},
4953
"hard": {
50-
"name": "棘手的",
54+
"name": "hard",
55+
"color": "ededed",
56+
"description": "High difficulty."
57+
},
58+
"review": {
59+
"name": "need review",
5160
"color": "ededed",
52-
"description": "难度高或数量多的"
61+
"description": "Need review."
5362
},
5463
"1.12.x": {
5564
"name": "1.12.x",
@@ -75,9 +84,6 @@
7584
"name": "source",
7685
"color": "fef2c0",
7786
"description": ""
78-
},
79-
"helpwanted": {
80-
"name": "Help Wanted"
8187
}
8288
},
8389
"runners": [
@@ -97,19 +103,10 @@
97103
{
98104
"type": "titleMatches",
99105
"pattern": "/^bug(\\(.*\\))?(!)?:/i"
100-
}
101-
]
102-
},
103-
"helpwanted": {
104-
"requires": 1,
105-
"conditions": [
106-
{
107-
"type": "descriptionMatches",
108-
"pattern": "Help\\s?(W|要)anted|需要(\\S| )*(帮助|协助)"
109106
},
110107
{
111-
"type": "titleMatches",
112-
"pattern": "(?<=\\[)H(?=\\])"
108+
"type": "descriptionMatches",
109+
"pattern": "/(created|new|opened|made)( an| a)? bug/i"
113110
}
114111
]
115112
}
@@ -196,12 +193,25 @@
196193
}
197194
]
198195
},
196+
"wip": {
197+
"requires": 1,
198+
"conditions": [
199+
{
200+
"type": "isDraft",
201+
"value": true
202+
},
203+
{
204+
"type": "titleMatches",
205+
"pattern": "(?<=\\[)WIP(?=\\])"
206+
}
207+
]
208+
},
199209
"hard": {
200210
"requires": 1,
201211
"conditions": [
202212
{
203-
"type": "descriptionMatches",
204-
"pattern": "棘手的"
213+
"type": "titleMatches",
214+
"pattern": "(?<=\\[)P(?=\\])"
205215
}
206216
]
207217
},
+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
self_approval_comments:
2+
- "I self-approve!"
3+
- "I self-certify!"
4+
- "self-approved"
5+
- "自我审查完毕"
6+
- "自审通过"
7+
- "自审完成"
8+
from_author: []
9+
apply_labels: []

.github/weekly-digest.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Configuration for weekly-digest - https://github.com/apps/weekly-digest
2+
publishDay: wed
3+
canPublishIssues: true
4+
canPublishPullRequests: true
5+
canPublishContributors: true
6+
canPublishStargazers: true
7+
canPublishCommits: true

.github/workflows/stale.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ jobs:
1515
with:
1616
days-before-issue-stale: -1
1717
days-before-issue-close: -1
18-
stale-pr-message: "请注意回应审查人的审查意见,若7天内不回应,该PR即将被关闭。相关规则见[贡献方针](https://github.com/CFPAOrg/Minecraft-Mod-Language-Package/blob/main/CONTRIBUTING.md#搁置规则)"
19-
close-pr-message: "因你的回应时间超过时限,该PR已因搁置而被关闭。如需再次提交可重新打开该PR,感谢贡献:heart:。相关规则见[贡献方针](https://github.com/CFPAOrg/Minecraft-Mod-Language-Package/blob/main/CONTRIBUTING.md#搁置规则)"
18+
stale-pr-message: "提醒:审核者需要您的回复,7+7已进入第二阶段,该PR即将关闭"
19+
close-pr-message: "因审核者请求您更新该PR,且回复时间超过规定期限,该PR现暂时关闭。如您需再次提交可重新打开该PR,感谢您的贡献:heart:。"
2020
days-before-pr-stale: 7
21-
days-before-pr-close: 1
22-
any-of-pr-labels: "即将被搁置"
21+
days-before-pr-close: 7
22+
any-of-pr-labels: "needs author action,changes required"
2323
stale-pr-label: "即将拒收"
24+
start-date: 2023-02-11
2425
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)