🔧 change latest changes to chinese

This commit is contained in:
yanyongyu 2022-02-16 17:51:17 +08:00
parent 6272dfd46a
commit 6f9c9eb740
No known key found for this signature in database
GPG Key ID: 796D8A7FB73396EB
3 changed files with 4 additions and 1 deletions

View File

@ -35,6 +35,8 @@ jobs:
with:
changelog_file: website/src/pages/changelog.md
latest_changes_position: '# 更新日志\n\n'
latest_changes_title: '## 最近更新'
replace_regex: '(?<=## 最近更新\n)[\s\S]*?(?=\n## )'
changelog_body: ${{ steps.release-drafter.outputs.body }}
commit_and_push: false

View File

@ -28,6 +28,7 @@ jobs:
uses: docker://ghcr.io/nonebot/auto-changelog:master
with:
changelog_file: website/src/pages/changelog.md
archive_regex: '(?<=## )最近更新(?=\n)'
archive_title: ${{ env.TAG_NAME }}
commit_and_push: false

View File

@ -4,7 +4,7 @@ description: Changelog
# 更新日志
## Latest Changes
## 最近更新
### 💫 杂项