diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2cbbb6b9..56616cac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,7 @@ jobs: with: fetch-depth: 0 # otherwise, you will failed to push refs to dest repo persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token - token: ${{ secrets.ACTIONS_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} - name: Import GPG key id: import_gpg @@ -53,7 +53,7 @@ jobs: "@semantic-release/release-notes-generator@10.0.3" "conventional-changelog-conventionalcommits@5.0.0" env: - GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} - name: Set up Go @@ -71,4 +71,4 @@ jobs: env: GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} # GitHub sets this automatically - GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}