👷 update changelog ci

This commit is contained in:
yanyongyu
2022-02-15 23:39:04 +08:00
parent cee96d8ab6
commit 962c71ea4e
3 changed files with 15 additions and 9 deletions

View File

@ -22,10 +22,12 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# TODO
# - name: Update Changelog
# run: |
# echo ${{ steps.release-drafter.outputs.body }}
- name: Update Changelog
uses: docker://nonebot/auto-changelog:master
with:
changelog_file: website/src/pages/changelog.md
latest_changes_position: '# 更新日志\n\n'
changelog_body: ${{ steps.release-drafter.outputs.body }}
release:
if: startsWith(github.ref, 'refs/tags/')