From ed5e9d169e3f2c5ba3441c898fbda658f1a72201 Mon Sep 17 00:00:00 2001 From: stlc-bot Date: Fri, 26 Jun 2026 14:27:02 -0700 Subject: [PATCH] feat: migrate SDK release automation to release-please (off Stainless) Adds the in-house release-please workflow that opens/maintains the release PR and tags on merge, using PRODUCTION_REPO_TOKEN. Replaces the release automation that Stainless ran externally via the stainless-app GitHub App (being retired). The SDK content was already promoted from staging in #113. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/release-please.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/release-please.yml diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 00000000..dfc3c8f2 --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,23 @@ +name: release-please + +# Opens/maintains the "release: x.y.z" PR (version bump + CHANGELOG) and, on its +# merge, tags the release. Replaces the release-please that Stainless ran externally +# via the stainless-app GitHub App (which is being retired). Config + manifest already +# live in the repo (release-please-config.json / .release-please-manifest.json). +on: + push: + branches: [main] + +permissions: + contents: write + pull-requests: write + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + # PAT (not GITHUB_TOKEN) so the release tag/event can trigger downstream + # publish workflows; GITHUB_TOKEN-created tags don't. + - uses: googleapis/release-please-action@5c625bfb5d1ff62eadeeb3772007f7f66fdcf071 # v4.4.1 + with: + token: ${{ secrets.PRODUCTION_REPO_TOKEN }}