Skip to content

Commit a7ce9d8

Browse files
committed
workflow: 修改 .github 等配置
1 parent 9a1e56d commit a7ce9d8

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
title: "【错误报告】"
1+
title: "【错误报告】请输入简要标题"
22
labels: bug
33
name: "🐞 错误报告"
44
description: 创建报告以帮助我们改进
@@ -22,7 +22,7 @@ body:
2222
label: 你使用的浏览器版本 + 扩展版本号
2323
placeholder: 如:Chrome 131 / 1.0.1
2424
validations:
25-
required: true
25+
required: false
2626
- type: textarea
2727
id: steps-to-reproduce
2828
attributes:

.github/ISSUE_TEMPLATE/feature_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
title: "【功能请求】"
1+
title: "【功能请求】请输入简要标题"
22
labels: feature
33
name: "💡 功能请求"
44
description: 为这个项目提出一个创意需求

.github/workflows/create_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ jobs:
4444
- name: Create new release
4545
if: env.create_release == 'true'
4646
run: |
47-
--generate-notes \
4847
CURRENT_DATE=$(TZ='Asia/Shanghai' date +'%Y-%m-%d %H:%M')
4948
sed -i "s/\$PACKAGE_VERSION/$PACKAGE_VERSION/g" CHANGELOG.md
5049
sed -i "s/\$CURRENT_DATE/$CURRENT_DATE/g" CHANGELOG.md
5150
gh release create "$PACKAGE_VERSION" \
51+
--generate-notes \
5252
-t "$PACKAGE_VERSION" \
5353
-n "$(cat CHANGELOG.md)
5454

0 commit comments

Comments
 (0)