diff --git a/.github/workflows/early-access.yml b/.github/workflows/early-access.yml index 35e0497f..8666a899 100644 --- a/.github/workflows/early-access.yml +++ b/.github/workflows/early-access.yml @@ -132,7 +132,7 @@ jobs: - name: Release with JReleaser run: mvn -B -Prelease -DartifactsDir=artifacts jreleaser:full-release env: - JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + JRELEASER_GITHUB_TOKEN: ${{ secrets.GH_PAT }} - name: Capture JReleaser output if: always() diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9497acac..d49565b7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -220,7 +220,7 @@ jobs: - name: Release with JReleaser run: mvn -B -Prelease -DartifactsDir=artifacts jreleaser:full-release env: - JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + JRELEASER_GITHUB_TOKEN: ${{ secrets.GH_PAT }} JRELEASER_HOMEBREW_GITHUB_TOKEN: ${{ secrets.GH_PAT }} JRELEASER_SNAP_GITHUB_TOKEN: ${{ secrets.GH_PAT }} JRELEASER_CHOCOLATEY_GITHUB_TOKEN: ${{ secrets.GH_PAT }}