diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 3fb0e1a..86ca412 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -16,10 +16,22 @@ jobs: tag_name: ${{ steps.release.outputs.tag_name }} version: ${{ steps.release.outputs.version }} steps: + # GITHUB_TOKEN-opened release PRs leave their checks in "action_required" + # until GitHub fails them after 30 days; the release bot app avoids that. + - name: Create release bot token + id: app-token + uses: actions/create-github-app-token@v3 + with: + client-id: ${{ secrets.RELEASE_PLEASE_APP_CLIENT_ID }} + private-key: ${{ secrets.RELEASE_PLEASE_APP_PRIVATE_KEY }} + permission-contents: write + permission-pull-requests: write + - name: Run release-please id: release uses: googleapis/release-please-action@v5 with: + token: ${{ steps.app-token.outputs.token }} config-file: release-please-config.json manifest-file: .release-please-manifest.json