diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c4fbc6f..2165b65 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,8 +19,20 @@ jobs: outputs: release_created: ${{ steps.release.outputs.release_created }} steps: + # App-created release PRs trigger CI and required workflows. + - name: Generate token + id: generate-token + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 + with: + app-id: ${{ vars.SDK_BOT_APP_ID }} + private-key: ${{ secrets.SDK_BOT_PRIVATE_KEY }} + permission-contents: write + permission-pull-requests: write + - uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5 id: release + with: + token: ${{ steps.generate-token.outputs.token }} publish: needs: release-please