From c51d14913ab15e4514a6e936fe006ab836e4024d Mon Sep 17 00:00:00 2001 From: Abhinay Agarwal Date: Tue, 28 Mar 2023 12:54:08 +0530 Subject: [PATCH] build: Use GITHUB_TOKEN for jreleaser (#624) --- .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 79602b62f..c9c343c3a 100644 --- a/.github/workflows/early-access.yml +++ b/.github/workflows/early-access.yml @@ -137,7 +137,7 @@ jobs: - name: Release with JReleaser env: - JRELEASER_GITHUB_TOKEN: ${{ secrets.PAT }} + JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | mvn -B -ntp -pl :parent -DartifactsDir=artifacts jreleaser:release diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ee92ca5c2..ecf1aafa8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -146,7 +146,7 @@ jobs: - name: Release with JReleaser env: - JRELEASER_GITHUB_TOKEN: ${{ secrets.PAT }} + JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} JRELEASER_S3_GLUON_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} JRELEASER_S3_GLUON_SECRET_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} JRELEASER_S3_GLUON_REGION: us-east-1