Skip to content

Add lockstep release workflow to main (dispatch-only) - #455

Merged
umair-ably merged 2 commits into
mainfrom
pubsub-split/release-workflow-on-main
Sep 2, 2026
Merged

Add lockstep release workflow to main (dispatch-only)#455
umair-ably merged 2 commits into
mainfrom
pubsub-split/release-workflow-on-main

Conversation

@umair-ably

Copy link
Copy Markdown
Contributor

What

Cherry-picks .github/workflows/release.yml (only the workflow file) from #454 onto main.

Why

workflow_dispatch workflows are only registered once the file exists on the default branch. The Pub/Sub split work merges to integration/v2 and won't reach main until GA, so without this the release workflow cannot be dispatched at all — including the initial run that claims the ably-pubsub-core / ably-pubsub-server gem names on RubyGems via trusted publishing and proves the OIDC pipeline end to end (gh workflow run release.yml --ref <branch>).

Safety on main

The workflow is inert here:

  • Dispatch-only — no push/PR/schedule triggers.
  • Its pre-flight requires core/ and server/ gem layouts, which don't exist on main, so a dispatch at main fails before anything is built or pushed.
  • Publishing requires RubyGems Trusted Publishers bound to this repo + workflow file, which are not yet configured.

The full release tooling (pre-flight, dry-run CI job, docs) is reviewed in #454; this PR is purely the registration mechanism.

🤖 Generated with Claude Code

Cherry-picked from the pubsub-split/release-tooling branch (d24039b,
workflow file only): workflow_dispatch workflows are only registered
once the file exists on the default branch, so this must land on main
before release runs can be dispatched against the integration branches
(gh workflow run release.yml --ref <branch>).

Inert on main: dispatch-only, and its pre-flight fails on main's layout
(no core/ or server/ gems), so nothing can be published from here.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Comment thread .github/workflows/release.yml Outdated
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants