Open issue. Don’t open the dashboard. Come back in five minutes to a draft PR ready for your eyes.The pipeline on this repo,
JacobPEvans/docs, uses six thin caller files in .github/workflows/ that delegate to reusable workflows in JacobPEvans/ai-workflows. Each caller is 10–30 lines; the AI work all lives in the upstream reusable workflow.
What runs, in order
How the six callers connect
The hub is the consumer repo; each caller is a one-shot wrapper around an upstream reusable workflow. They run independently when their trigger fires.What each caller actually contains
A caller is the minimum YAML to declare a trigger, set permissions, and call the upstream:ci-fix.ymlpasses arepo_contextandci_structuredescribing what the repo is and what CI runs, so the AI knows what to fix.post-merge-docs-review.ymluses the Post-Merge Dispatch Pattern — a two-job file becausepushevents aren’t supported byclaude-code-action@v1, so the caller re-dispatches asworkflow_dispatch.
Secrets the pipeline needs
Distributed automatically bysecrets-sync when a repo is added to the _github_app_repos and _all_repos anchors in secrets-config.yml:
Per Git signing, every AI workflow mints a
JacobPEvans-claude installation token immediately before calling claude-code-action@v1, then hands it in as github_token with use_commit_signing: true. Commits land web-flow-signed and attributed to the bot.
Rate and safety guards
The reusable workflows enforce conservative defaults so a runaway loop can’t burn cloud spend:issue-resolver.yml—max_attempts: 1per issue,daily_limit: 5per repo,excluded_labels: "type:security,type:feature,type:breaking,size:l,size:xl"won’t touchci-fix.yml—daily_run_limit: 5per repo, max 2 fix attempts per PR- All workflows — fork PRs blocked by
if:guards, branch protection enforces the final merge gate
The pieces this doesn’t include
The cloud pipeline gets a PR to draft + reviewed. It does NOT:- Mark the PR ready for merge — that’s a human decision
- Click the merge button — never automated
- Override branch protection or required reviewers
- Touch repos outside the current org boundary
/ship and /finalize-pr.
Where to go next
ai-workflows
Reusable workflows, pinned catalog prompts, event-triggered and scheduled.
claude-code-routines
The cron half — six routines that scan the org and pick up loose ends.
ai-workflows getting started
Caller templates and the live workflow catalog.
Authentication
AI_TOKEN, provider routing, and model variables.