Repository navigation
ci(repo): notify the docs repo when agent packages publish - #357
Draft
claude[bot] wants to merge 1 commit into
Draft
claude[bot] wants to merge 1 commit into
claude[bot] wants to merge 1 commit into
Conversation
After a stable release, send a repository_dispatch event (agent-packages-released) to tigrisdata/tigris-os-docs with the published cli, agent-kit, agent-shell and storage versions, so the docs repo opens an issue to check the agent docs. The step needs a DOCS_REPO_DISPATCH_TOKEN secret, skips with a notice when it is unset, and never fails the release. Assisted-by: Claude Opus 5.5 via Claude Code Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015Qg5NUvpUUpqnqd6ow5Xdv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Xe Iaso, Katie Schilling · Slack thread
Before: When a release publishes a new CLI, agent-kit, agent-shell or storage SDK version, nothing tells the docs team. The agent docs in tigris-os-docs can fall behind the packages until someone happens to notice.
After: When a stable release publishes
@tigrisdata/cli,@tigrisdata/agent-kit,@tigrisdata/agent-shellor@tigrisdata/storage, the release workflow tells tigris-os-docs. That repo then opens an issue titled "Check agent docs for …" that lists the new versions with links to their changelogs and releases, and cc's @Xe and @katieschilling. A release that publishes only other packages (iam, react, keyv-tigris, cli-shell) sends nothing.How: A new step in the
releasejob of.github/workflows/release.yamlcomes after "Detect CLI publish". It runs only whenchangesets/actionreportspublished == 'true'. It keeps the four packages above frompublished-packagesand sends arepository_dispatchevent (agent-packages-released) to tigrisdata/tigris-os-docs withclient_payload: { packages: [{ name, version }], run_url }. The receiving workflow is in tigrisdata/tigris-os-docs#555.Someone with admin access must add a repository secret named
DOCS_REPO_DISPATCH_TOKEN. Use a fine-grained personal access token or a GitHub App installation token. Limit it totigrisdata/tigris-os-docsand give it the Contents: Read and write repository permission, whichPOST /repos/{owner}/{repo}/dispatchesrequires. Metadata: Read comes with it automatically. Until the secret exists, the step prints a notice and skips. The step also hascontinue-on-error: true, so a failed dispatch never fails a release. Beta snapshot runs (workflow_dispatch) send nothing.This change touches only CI and ships nothing to npm, so it has no changeset.
actionlintpasses on the changed workflow.🤖 Generated with Claude Code
https://claude.ai/code/session_015Qg5NUvpUUpqnqd6ow5Xdv