mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-12-01 01:25:07 +08:00
👷 update ci config
This commit is contained in:
parent
962c71ea4e
commit
987e44e1d0
28
.github/release-drafter.yml
vendored
28
.github/release-drafter.yml
vendored
@ -1,37 +1,31 @@
|
|||||||
header: |
|
template: $CHANGES
|
||||||
### Documentation
|
|
||||||
|
|
||||||
See: https://v2.nonebot.dev
|
|
||||||
template: |
|
|
||||||
### 💫 Changes
|
|
||||||
|
|
||||||
$CHANGES
|
|
||||||
category-template: "### $TITLE"
|
category-template: "### $TITLE"
|
||||||
name-template: "Release v$RESOLVED_VERSION 🌈"
|
name-template: "Release v$RESOLVED_VERSION 🌈"
|
||||||
tag-template: "v$RESOLVED_VERSION"
|
tag-template: "v$RESOLVED_VERSION"
|
||||||
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
|
change-template: "- $TITLE [@$AUTHOR](https://github.com/$AUTHOR) ([#$NUMBER]($URL))"
|
||||||
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
|
change-title-escapes: '\<&'
|
||||||
categories:
|
categories:
|
||||||
- title: "💥 Breaking Changes"
|
- title: "💥 破坏性变更"
|
||||||
labels:
|
labels:
|
||||||
- "Breaking"
|
- "Breaking"
|
||||||
- title: "🚀 Features"
|
- title: "🚀 新功能"
|
||||||
labels:
|
labels:
|
||||||
- "feature"
|
- "feature"
|
||||||
- "enhancement"
|
- "enhancement"
|
||||||
- title: "🐛 Bug Fixes"
|
- title: "🐛 Bug 修复"
|
||||||
labels:
|
labels:
|
||||||
- "fix"
|
- "fix"
|
||||||
- "bugfix"
|
- "bugfix"
|
||||||
- "bug"
|
- "bug"
|
||||||
- title: "📝 Documentation"
|
- title: "📝 文档"
|
||||||
labels:
|
labels:
|
||||||
- "documentation"
|
- "documentation"
|
||||||
- title: "🍻 Plugin Publish"
|
- title: "💫 杂项"
|
||||||
|
- title: "🍻 插件发布"
|
||||||
label: "Plugin"
|
label: "Plugin"
|
||||||
- title: "🍻 Bot Publish"
|
- title: "🍻 机器人发布"
|
||||||
label: "Bot"
|
label: "Bot"
|
||||||
- title: "🍻 Adapter Publish"
|
- title: "🍻 适配器发布"
|
||||||
label: "Adapter"
|
label: "Adapter"
|
||||||
version-resolver:
|
version-resolver:
|
||||||
major:
|
major:
|
||||||
|
2
.github/workflows/publish-bot.yml
vendored
2
.github/workflows/publish-bot.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
|||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
|
|
||||||
- name: NoneBot2 Publish Bot
|
- name: NoneBot2 Publish Bot
|
||||||
uses: nonebot/nonebot2-publish-bot@main
|
uses: docker://ghcr.io/nonebot/nonebot2-publish-bot:main
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
config: >
|
config: >
|
||||||
|
2
.github/workflows/release-drafter.yml
vendored
2
.github/workflows/release-drafter.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Update Changelog
|
- name: Update Changelog
|
||||||
uses: docker://nonebot/auto-changelog:master
|
uses: docker://ghcr.io/nonebot/auto-changelog:master
|
||||||
with:
|
with:
|
||||||
changelog_file: website/src/pages/changelog.md
|
changelog_file: website/src/pages/changelog.md
|
||||||
latest_changes_position: '# 更新日志\n\n'
|
latest_changes_position: '# 更新日志\n\n'
|
||||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
|||||||
- run: echo "TAG_NAME=v$(poetry version -s)" >> $GITHUB_ENV
|
- run: echo "TAG_NAME=v$(poetry version -s)" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Archive Changelog
|
- name: Archive Changelog
|
||||||
uses: docker://nonebot/auto-changelog:master
|
uses: docker://ghcr.io/nonebot/auto-changelog:master
|
||||||
with:
|
with:
|
||||||
changelog_file: website/src/pages/changelog.md
|
changelog_file: website/src/pages/changelog.md
|
||||||
archive_title: ${{ env.TAG_NAME }}
|
archive_title: ${{ env.TAG_NAME }}
|
||||||
|
Loading…
Reference in New Issue
Block a user