🔧 Adjusts GitHub Token Usage for Releases

This commit is contained in:
Bruce Markham
2023-12-13 23:53:53 -05:00
parent e4fb59b9d8
commit 77cbe6e822

View File

@@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive
persist-credentials: false
persist-credentials: false # Make sure the release step uses its own credentials.
- name: Set up JDK 1.8
uses: actions/setup-java@v1
@@ -48,4 +48,9 @@ jobs:
env:
CI: true
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
GIT_AUTHOR_NAME: github-actions
GIT_AUTHOR_EMAIL: 44210433+github-actions@users.noreply.github.com
GIT_COMMITTER_NAME: github-actions
GIT_COMMITTER_EMAIL: 44210433+github-actions@users.noreply.github.com
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}