👷 update ci config

This commit is contained in:
yanyongyu 2022-02-16 11:10:54 +08:00
parent 962c71ea4e
commit 987e44e1d0
No known key found for this signature in database
GPG Key ID: 796D8A7FB73396EB
4 changed files with 14 additions and 20 deletions

View File

@ -1,37 +1,31 @@
header: |
### Documentation
See: https://v2.nonebot.dev
template: |
### 💫 Changes
$CHANGES
template: $CHANGES
category-template: "### $TITLE"
name-template: "Release v$RESOLVED_VERSION 🌈"
tag-template: "v$RESOLVED_VERSION"
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
change-template: "- $TITLE [@$AUTHOR](https://github.com/$AUTHOR) ([#$NUMBER]($URL))"
change-title-escapes: '\<&'
categories:
- title: "💥 Breaking Changes"
- title: "💥 破坏性变更"
labels:
- "Breaking"
- title: "🚀 Features"
- title: "🚀 新功能"
labels:
- "feature"
- "enhancement"
- title: "🐛 Bug Fixes"
- title: "🐛 Bug 修复"
labels:
- "fix"
- "bugfix"
- "bug"
- title: "📝 Documentation"
- title: "📝 文档"
labels:
- "documentation"
- title: "🍻 Plugin Publish"
- title: "💫 杂项"
- title: "🍻 插件发布"
label: "Plugin"
- title: "🍻 Bot Publish"
- title: "🍻 机器人发布"
label: "Bot"
- title: "🍻 Adapter Publish"
- title: "🍻 适配器发布"
label: "Adapter"
version-resolver:
major:

View File

@ -20,7 +20,7 @@ jobs:
token: ${{ secrets.GH_TOKEN }}
- name: NoneBot2 Publish Bot
uses: nonebot/nonebot2-publish-bot@main
uses: docker://ghcr.io/nonebot/nonebot2-publish-bot:main
with:
token: ${{ secrets.GH_TOKEN }}
config: >

View File

@ -23,7 +23,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update Changelog
uses: docker://nonebot/auto-changelog:master
uses: docker://ghcr.io/nonebot/auto-changelog:master
with:
changelog_file: website/src/pages/changelog.md
latest_changes_position: '# 更新日志\n\n'

View File

@ -28,7 +28,7 @@ jobs:
- run: echo "TAG_NAME=v$(poetry version -s)" >> $GITHUB_ENV
- name: Archive Changelog
uses: docker://nonebot/auto-changelog:master
uses: docker://ghcr.io/nonebot/auto-changelog:master
with:
changelog_file: website/src/pages/changelog.md
archive_title: ${{ env.TAG_NAME }}