Skip to content

ci: dispatch the docs API-reference bump on release#31

Merged
PabloPardoGarcia merged 1 commit into
mainfrom
pablo/dispatch-docs-on-release
Jul 15, 2026
Merged

ci: dispatch the docs API-reference bump on release#31
PabloPardoGarcia merged 1 commit into
mainfrom
pablo/dispatch-docs-on-release

Conversation

@PabloPardoGarcia

@PabloPardoGarcia PabloPardoGarcia commented Jul 15, 2026

Copy link
Copy Markdown
Member

Sending half of the release-to-docs automation; the receiving workflow is glassflow/argus-docs PR #10.

New dispatch-docs job in the release workflow: after the PyPI publish succeeds, POST a repository_dispatch (sdk-release, payload {version}) at argus-docs, whose bump-api-reference workflow bumps the pin, regenerates the reference, and opens the review PR. Ordering matters: the docs workflow pip-installs the released version, so this only fires from a job that needs: publish.

Like the Slack notify job, it skips gracefully while its secret is unset, so this merges safely before the token exists.

Setup required (one-time)

  • Create a fine-grained PAT (or GitHub App installation token) with contents: read/write on glassflow/argus-docs (contents-write is what authorizes repository_dispatch), and store it as the DOCS_DISPATCH_TOKEN secret in this repo.

Until then, the docs side's Monday scheduled run covers new releases with up to a week of lag.

After a successful PyPI publish, fire a repository_dispatch
(sdk-release, payload: version) at glassflow/argus-docs; its
bump-api-reference workflow opens the pin-bump + regenerated-reference
PR. Skips gracefully until DOCS_DISPATCH_TOKEN is configured (a
fine-grained PAT with contents:write on argus-docs; GITHUB_TOKEN
cannot dispatch cross-repo) — the docs side has a weekly scheduled
fallback either way.
@PabloPardoGarcia
PabloPardoGarcia merged commit c305273 into main Jul 15, 2026
7 checks passed
@PabloPardoGarcia
PabloPardoGarcia deleted the pablo/dispatch-docs-on-release branch July 23, 2026 07:31
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