Skip to content

Commit

Permalink
fix: ci fix expired token (#220)
Browse files Browse the repository at this point in the history
* ci: Fix expired token
  • Loading branch information
vaerh authored May 27, 2023
1 parent b0105ef commit e6a8585
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -53,7 +53,7 @@ jobs:
"@semantic-release/[email protected]"
"[email protected]"
env:
GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}

- name: Set up Go
Expand All @@ -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 }}

0 comments on commit e6a8585

Please sign in to comment.