Skip to content

ci: add docs-dispatch workflow (composer pings)#2

Open
makegov-hal[bot] wants to merge 1 commit into
mainfrom
ci/docs-dispatch
Open

ci: add docs-dispatch workflow (composer pings)#2
makegov-hal[bot] wants to merge 1 commit into
mainfrom
ci/docs-dispatch

Conversation

@makegov-hal
Copy link
Copy Markdown

@makegov-hal makegov-hal Bot commented May 15, 2026

Summary

  • Adds .github/workflows/docs-dispatch.yml — on push to main, pings makegov/docs via repository_dispatch when docs/, README.md, CHANGELOG.md, or crates/*/src/** changes.
  • Mirrors the convention used by the sibling SDKs (tango-node, tango-python, tango-go).

Setup checklist (do before merging)

  • Create a token (PAT or app token) with contents:write on makegov/docs.
  • Save as repo secret DOCS_DISPATCH_TOKEN on makegov/tango-rust.
  • (Optional) set repo variable DOCS_TARGET_REPO to override the dispatch target; default is makegov/docs.

Policy note

This workflow advertises the existence of the private makegov/docs composer. The decision in the tango-go release was to ship parity with sibling SDKs — same call applies here unless the policy has shifted across the SDK lineup.

$MAKEGOV_BOT_SIGNATURE

Pings makegov/docs (the editorial composer) via repository_dispatch
when docs/, README.md, CHANGELOG.md, or crates/*/src/** changes on main.
docs.makegov.com rebuilds the Rust SDK pages from this repo's docs/.

Requires the DOCS_DISPATCH_TOKEN repo secret with contents:write on
makegov/docs.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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