From 14f6706f6dd7208f484ac7429c2cbcf86b611ec1 Mon Sep 17 00:00:00 2001 From: syJSdev Date: Wed, 10 May 2023 08:33:12 +0800 Subject: [PATCH] update the release.yml --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f6d6fb3..1895758 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -95,7 +95,7 @@ jobs: # Push repository changes - name: Push changes to repository env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.PAT }} run: | git push origin && git push --tags @@ -116,7 +116,7 @@ jobs: body: ${{ steps.get-changelog.outputs.changelog }} prerelease: ${{ startsWith(github.event.inputs.release-type, 'pre') }} env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.PAT }} # Publish version to public repository - name: Publish