From 987e44e1d0bf1ebeba836770ca88ba86a65eb75a Mon Sep 17 00:00:00 2001 From: yanyongyu <42488585+yanyongyu@users.noreply.github.com> Date: Wed, 16 Feb 2022 11:10:54 +0800 Subject: [PATCH] :construction_worker: update ci config --- .github/release-drafter.yml | 28 +++++++++++---------------- .github/workflows/publish-bot.yml | 2 +- .github/workflows/release-drafter.yml | 2 +- .github/workflows/release.yml | 2 +- 4 files changed, 14 insertions(+), 20 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 2d4bd747..8e92058a 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -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: diff --git a/.github/workflows/publish-bot.yml b/.github/workflows/publish-bot.yml index 82f683d9..390b9338 100644 --- a/.github/workflows/publish-bot.yml +++ b/.github/workflows/publish-bot.yml @@ -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: > diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 6fbbdfec..8ec1912e 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -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' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 67a9275f..ecc4cfc8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }}