JacobPEvans/.github-ai ships reusable GitHub Actions workflows (on: workflow_call:). The workflow
orchestration, provider routing, and rate guards live there. Prompt text comes from the pinned
Prompt catalog. Consumers declare triggers and permissions.
Event-triggered workflows
These run on GitHub events. Wire one caller per workflow you want.
CI failure classification and repair paths live in CI resolver.
Scheduled workflows
These run on cron, typically called withschedule: and a manual workflow_dispatch:.
How a reusable caller looks
A reusable-workflow caller is the smallest YAML that declares a trigger, sets permissions, and forwards to the upstream:issue-resolver needs pull-requests: write, and
post-merge-* needs actions: write for the re-dispatch. The canonical caller
templates list the exact
permission block for each.
How prompts are loaded
The reusable workflows check out the catalog at its pinned release commit and select an asset fromautomation/.
They remove its OKF frontmatter before passing the prompt to the selected model. Local workflow YAML still owns
triggers, permissions, publishing, and provider configuration.
Versioning
Shared workflow dependency pins and Renovate policy live in Dependency automation.Authentication
TheGH_ACTION_AI_AGENT=claude|codex variable selects the agent for reusable
.yml workflows. Its default is claude, so existing callers keep that
behavior. Set it to codex at the organization, repository, or environment
level to switch every inherited workflow.
OAuth tokens are prohibited in unattended CI. A Claude Code subscription token (Provider details and model configuration live in AUTHENTICATION.md.CLAUDE_CODE_OAUTH_TOKEN) in GitHub Actions violates the Claude Code Terms of Service. It can lead to an account ban. Reserve subscription tokens for interactive sessions. Use the standardGH_ACTION_AI_API_KEYfor programmatic access.
Security boundary
- Model job gets no privileged GitHub App token.
- Checkout stores no credentials.
- It returns structured output or workspace changes.
- Publisher validates and performs GitHub writes.
Where to go next
Getting started
Caller examples and permissions.
Patterns
Dispatch flow and bot guards.
Authentication
Provider routing and model variables.
Prompt catalog
Versioned prompts and consumer pins.
Verification
End-to-end workflow verification.
Issue → PR pipeline on this repo
Current issue-to-PR callers.