From 20b5db8376e03b641217d887b0f6c2abd8a118cb Mon Sep 17 00:00:00 2001 From: Aditya Choudhari Date: Mon, 8 Jun 2026 09:52:51 -0400 Subject: [PATCH 1/2] chore: release-please uses gh app to authenticate --- .github/workflows/release.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1000b9fbc..b721f05f7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -24,19 +24,26 @@ jobs: with: go-version: "1.26" + - name: Generate GitHub App token + id: app-token + uses: actions/create-github-app-token@v2 + with: + app-id: ${{ secrets.RELEASE_APP_ID }} + private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }} + - name: Release id: semantic-release uses: googleapis/release-please-action@v4 with: release-type: simple - token: ${{ secrets.GH_TOKEN }} + token: ${{ steps.app-token.outputs.token }} - name: Tag Images if: ${{ steps.semantic-release.outputs.release_created }} run: | VERSION=${{ steps.semantic-release.outputs.tag_name }} env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} build-app: name: Build API App From 4643161d4e590e9d00a31f2022890694c6cfeb41 Mon Sep 17 00:00:00 2001 From: Aditya Choudhari Date: Mon, 8 Jun 2026 10:04:47 -0400 Subject: [PATCH 2/2] add step outputs --- .github/workflows/release.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b721f05f7..c2bff0634 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -13,6 +13,9 @@ jobs: release: name: Release runs-on: ubuntu-latest + outputs: + release_created: ${{ steps.semantic-release.outputs.release_created }} + tag_name: ${{ steps.semantic-release.outputs.tag_name }} steps: - name: Checkout uses: actions/checkout@v4