From 421497398d986e5d242a2436fcdcc0a1e5613938 Mon Sep 17 00:00:00 2001 From: Ugo Mignon Date: Thu, 24 Apr 2025 18:17:30 +0200 Subject: [PATCH] ci(release): use dynamic token --- .github/workflows/release.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aa74ade..78db02c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,11 +45,18 @@ jobs: matrix: package: ${{ fromJSON(needs.setup-release-context.outputs.packages) }} steps: + - name: Get Token + id: get_token + uses: peter-murray/workflow-application-token-action@v4 + with: + application_id: "${{ secrets.RELEASE_PLEASE_APPLICATION_ID }}" + application_private_key: ${{ secrets.RELEASE_PLEASE_PRIVATE_KEY }} + organization: ${{ github.repository_owner }} - uses: googleapis/release-please-action@v3 id: release with: default-branch: main - token: ${{ secrets.RELEASE_PLEASE_TOKEN }} + token: ${{ steps.get_token.outputs.token }} release-type: simple package-name: ${{ matrix.package }} version-file: ${{ matrix.package }}/version.txt