Skip to content

Notify docs when a stable CLI release is published - #664

Open
llewellyn-sl wants to merge 1 commit into
masterfrom
llewellyn-cli-docs-dispatch
Open

Notify docs when a stable CLI release is published#664
llewellyn-sl wants to merge 1 commit into
masterfrom
llewellyn-cli-docs-dispatch

Conversation

@llewellyn-sl

Copy link
Copy Markdown
Contributor

What changed

  • add a small release.published workflow
  • ignore GitHub prereleases
  • mint a repository-scoped token from the existing Docs GitHub App secrets
  • send a minimal cli-release-published dispatch to seqeralabs/docs

Why

CLI metadata extraction and documentation generation now belong in the docs repository. tower-cli only needs to announce that a stable release exists; the receiver independently re-fetches and validates the release before doing any work.

Impact

This adds no Java extraction, metadata artifact, source checkout, or generated-file bloat to tower-cli. The workflow depends on DOCS_BOT_APP_ID and DOCS_BOT_APP_PRIVATE_KEY being available to this repository and on the App installation including seqeralabs/docs.

The receiver must merge to the docs default branch before this notifier is merged because GitHub only delivers repository dispatches to workflows present on the target default branch.

Receiver implementation: seqeralabs/docs#1744

Validation

  • actionlint .github/workflows/notify-cli-docs.yml
  • release payload construction and stable-release condition reviewed against the docs receiver contract

@llewellyn-sl llewellyn-sl self-assigned this Aug 14, 2026
@llewellyn-sl
llewellyn-sl marked this pull request as ready for review August 14, 2026 15:00
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.

1 participant