From e8cc46a87cb65f984ac29d2f6eb63e2a92ee2a98 Mon Sep 17 00:00:00 2001 From: Maarten Mulders Date: Mon, 23 Oct 2023 21:14:50 +0200 Subject: [PATCH] chore: Switch GitHub access tokens --- .github/workflows/early-access.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }}