Skip to content

feat: add release-please workflow - #13

Merged
borisbarath-stripe merged 5 commits into
mainfrom
borisbarath/release-please-workflow
Jul 30, 2026
Merged

feat: add release-please workflow#13
borisbarath-stripe merged 5 commits into
mainfrom
borisbarath/release-please-workflow

Conversation

@borisbarath-stripe

@borisbarath-stripe borisbarath-stripe commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

What this changes

Adds the production release-please workflow and exact in-place version overrides.

Release automation

  • Runs release-please on pushes to production main.
  • Mints a repo-scoped STLC GitHub App token at runtime.
  • Uses the App token for release PRs, tags, GitHub Releases, and updates to release PR branches.
  • Requires STLC_BOT_APP_ID and STLC_BOT_APP_PRIVATE_KEY secrets.

In-PR version override

Edit an existing release PR title to:

release: 3.11.0-alpha.1

The pull_request: edited workflow then reads the exact version, derives files
from the PR diff, rewrites only the canonical old release version in those
files, pushes the existing release branch, and adds or updates one explanatory
comment.

No filename allowlist is used, and unrelated dependency/runtime versions are preserved.

This PR changes production release automation only. It does not generate SDKs,
promote staging, or perform production-to-staging back-sync.

Validation

The flow was verified in the private test mirror:

  • Test release PR #1
  • The title was changed to release: 3.11.0-alpha.1.
  • The existing release PR files were updated in place.
  • The selected-version comment was created.

Production release notification

  • On release: published, this workflow mints the STLC App token and dispatches prod-released to the matching staging repository.
  • This triggers staging back-sync immediately; the staging schedule remains the fallback.
  • The dispatch does not generate SDKs or bypass staging ancestry checks.

borisbarath-stripe and others added 3 commits July 22, 2026 09:47
Automates version bumps, changelogs, and GitHub Releases on push to main.
Supports version override by editing the release PR title (e.g. 'release: 5.0.0').

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Committed-By-Agent: claude
Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>
Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>
Committed-By-Agent: codex
Co-authored-by: codex <noreply@openai.com>
@borisbarath-stripe
borisbarath-stripe force-pushed the borisbarath/release-please-workflow branch from 69c9d07 to 9fe5fea Compare July 29, 2026 10:04
@borisbarath-stripe
borisbarath-stripe merged commit 0657e0c into main Jul 30, 2026
7 checks passed
@borisbarath-stripe
borisbarath-stripe deleted the borisbarath/release-please-workflow branch July 30, 2026 13:35
@metronome-stlc-bot metronome-stlc-bot Bot mentioned this pull request Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants