From 003bc1a165a50e0b15a83119d88cf58ffe4d9544 Mon Sep 17 00:00:00 2001 From: Laurent Schaffner Date: Fri, 20 Nov 2026 17:22:02 +0100 Subject: [PATCH] ci: open Release PRs as getstream-sdk-bot GITHUB_TOKEN can no longer create pull requests in the org; mint a token from the sdk-bot environment instead of re-enabling that setting. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/release-pr.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index f77d313..d07340e 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -13,16 +13,19 @@ permissions: jobs: release-please: runs-on: ubuntu-latest + # stream-node-release-bot was uninstalled in the 2026-11-20 org app cleanup; the Release PR + # is now opened by getstream-sdk-bot, like the other server-side SDKs. Its key lives only + # in the sdk-bot environment, which deploys from main. + environment: sdk-bot steps: - name: Create GitHub App token id: app-token uses: actions/create-github-app-token@v3 with: - client-id: ${{ vars.NODE_RELEASE_BOT_CLIENT_ID }} - private-key: ${{ secrets.NODE_RELEASE_BOT_PRIVATE_KEY }} + client-id: Iv23lioh9qYGjBIp9nsK + private-key: ${{ secrets.SDK_BOT_PRIVATE_KEY }} permission-contents: write permission-pull-requests: write - permission-issues: write # release-please labels its PRs - uses: googleapis/release-please-action@v5 with: