👷 disable auto push

This commit is contained in:
yanyongyu 2022-02-16 14:28:44 +08:00
parent 98e0ec27ee
commit 004a308765
No known key found for this signature in database
GPG Key ID: 796D8A7FB73396EB
2 changed files with 18 additions and 1 deletions

View File

@ -22,6 +22,9 @@ jobs:
with:
token: ${{ secrets.GH_TOKEN }}
- name: Setup Node Environment
uses: ./.github/actions/setup-node
- uses: release-drafter/release-drafter@v5
id: release-drafter
env:
@ -33,6 +36,17 @@ jobs:
changelog_file: website/src/pages/changelog.md
latest_changes_position: '# 更新日志\n\n'
changelog_body: ${{ steps.release-drafter.outputs.body }}
commit_and_push: false
- name: Commit and Push
run: |
yarn prettier
git config user.name github-actions[bot]
git config user.email github-actions[bot]@users.noreply.github.com
git add .
git commit -m ":memo: Update changelog"
git push
release:
if: startsWith(github.ref, 'refs/tags/')

View File

@ -29,9 +29,12 @@ jobs:
with:
changelog_file: website/src/pages/changelog.md
archive_title: ${{ env.TAG_NAME }}
commit_and_push: false
- name: Archive Files
run: yarn archive $(poetry version -s)
run: |
yarn archive $(poetry version -s)
yarn prettier
- name: Push Tag
run: |