diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b666699..64b9f1c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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