ci: add docs-sync workflow to open PRs against dojoengine/book#552
Open
kronosapiens wants to merge 1 commit intodojoengine:mainfrom
Open
ci: add docs-sync workflow to open PRs against dojoengine/book#552kronosapiens wants to merge 1 commit intodojoengine:mainfrom
kronosapiens wants to merge 1 commit intodojoengine:mainfrom
Conversation
71c5f08 to
4a1a1f4
Compare
This was referenced Apr 23, 2026
4a1a1f4 to
bd9edbf
Compare
Ports the docs-sync workflow from cartridge-gg/controller to this repo. On each merged PR to main (and on manual workflow_dispatch), Claude analyzes the diff and, if user-facing behavior changed, opens an auto-merging PR to dojoengine/book with targeted docs updates. Canonical docs location: docs/pages/toolchain/katana/ Requires repository secrets: CREATE_PR_TOKEN, ANTHROPIC_API_KEY.
bd9edbf to
39f88a6
Compare
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.
Adds a caller stub that invokes the shared reusable docs-sync workflow hosted in
dojoengine/book.What it does
On each merged PR to
main(plus manualworkflow_dispatch), the stub callsdojoengine/book/.github/workflows/docs-sync.yml@mainwith this repo's parameters (diff globs,DOCS_PATTERNS, canonical docs page). The shared workflow diffs the PR, runsanthropics/claude-code-action@betawith a tight "default to no changes / single canonical location / minimal edits" ruleset, and — if Claude made edits — opens an auto-merging PR todojoengine/bookwith the suggested changes.Per-repo parameters
See the
with:block in the diff. Canonical docs location for this repo:katana:
docs/pages/toolchain/katana/indojoengine/book.Requires these secrets (forwarded via
secrets: inherit)CREATE_PR_TOKEN— PAT withcontents: writeondojoengine/book.ANTHROPIC_API_KEY— foranthropics/claude-code-action@beta.Merge order
Merge
dojoengine/book#504first — that's what adds the reusable workflow this stub references. Merging this stub before that one means the workflow will fail at invocation time (theuses:ref won't resolve).Related
Companion stub PRs across the dojoengine ecosystem, all pointing at the same reusable workflow:
Cross-org companion stub: