Skip to content

Commit

Permalink
Use a separate token when invoking semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
muzuke committed Dec 8, 2023
1 parent 82687a1 commit 66a3a9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
if: startsWith(github.ref_name, 'release/') || github.ref == 'refs/heads/develop'
env:
VITE_GITHUB_REF_NAME: ${{ github.ref_name }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
GOOGLE_CLIENT_ID: ${{ env.GH_CLIENT_ID }}
GOOGLE_CLIENT_SECRET: ${{ env.GH_CLIENT_SECRET }}
GOOGLE_REFRESH_TOKEN: ${{ env.GH_REFRESH_TOKEN }}
Expand All @@ -54,7 +54,7 @@ jobs:
if: github.ref == 'refs/heads/main'
env:
VITE_GITHUB_REF_NAME: ${{ github.ref_name }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
GOOGLE_CLIENT_ID: ${{ env.GH_CLIENT_ID }}
GOOGLE_CLIENT_SECRET: ${{ env.GH_CLIENT_SECRET }}
GOOGLE_REFRESH_TOKEN: ${{ env.GH_REFRESH_TOKEN }}
Expand Down

0 comments on commit 66a3a9b

Please sign in to comment.