Skip to content

Commit

Permalink
🔧 Adjusts GitHub Token Usage for Releases
Browse files Browse the repository at this point in the history
  • Loading branch information
brucificus committed Dec 14, 2023
1 parent 77cbe6e commit dc2ea4c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive
persist-credentials: false # Make sure the release step uses its own credentials.
token: ${{ secrets.RELEASE_GITHUB_TOKEN }}

- name: Set up JDK 1.8
uses: actions/setup-java@v1
Expand Down Expand Up @@ -47,8 +47,7 @@ jobs:
npm run semantic-release
env:
CI: true
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_AUTHOR_NAME: github-actions
GIT_AUTHOR_EMAIL: 44210433+github-actions@users.noreply.github.com
GIT_COMMITTER_NAME: github-actions
Expand Down

0 comments on commit dc2ea4c

Please sign in to comment.