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