feat(ci): wire six ai-workflows callers for issue→mergeable-PR pipeline#31
Merged
Conversation
Adds the cloud-side automation pipeline so that opening an issue on this repo triggers automatic triage, draft PR creation, AI review (via the upstream Gemini/Copilot reviewers, not the deprecated claude-review), CI auto-fix on failure, and a final merge-readiness gate. Callers (all pinned @main per ci-cd-policy.md): - issue-triage.yml on issues: opened - categorize, label, dedup - issue-resolver.yml on issues: opened - draft PR for well-scoped issues - ci-fix.yml on workflow_run CI failure - push fix commit (max 2/PR, 5/day) - final-pr-review.yml on pull_request_review - merge-readiness gate - project-router.yml on issues/PR open|label - route to GitHub Projects - post-merge-docs-review.yml on push to main - audit + fix-PR via dispatch pattern Each caller's input shape (repo_context for issue-resolver and ci-fix) is tuned to this repo: Mintlify documentation site, MDX pages, mermaid diagrams using the canonical hand-drawn Reef Green theme, navigation in docs.json. Dropped from this wiring (will not be added): - claude-review.yml - DEPRECATED upstream 2026-04-04, jobs gated `if: false` - pr-issue-linker.yml - auto-triggers explicitly disabled upstream DEPENDS ON: JacobPEvans/secrets-sync #85 (adds `docs` to _all_repos and _github_app_repos anchors). Without secrets distributed, every caller fails at the first claude-code-action step. Merge order must be: 1. Merge secrets-sync #85 2. Add JacobPEvans/docs to the GH_PAT_SECRETS_SYNC_ACTION fine-grained PAT repository access list (manual UI step) 3. Confirm sync-secrets workflow ran on secrets-sync and that gh secret list --repo JacobPEvans/docs returns OPENROUTER_API_KEY 4. Merge this PR Validations passed locally: - yamllint -d relaxed (warnings resolved, no remaining) - actionlint (no errors) Assisted-by: Claude <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
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.
Summary
Adds six thin caller files in
.github/workflows/that delegate to reusable workflows in JacobPEvans/ai-workflows. After this PR merges (and the dependency below resolves), opening an issue on this repo triggers the full cloud pipeline: triage → draft PR → AI review → CI auto-fix → final merge gate.Callers added
issues: [opened]issue-triage.ymlai-workflows/issue-triage.yml@mainissues: [opened]issue-resolver.ymlai-workflows/issue-resolver.yml@mainworkflow_run(CI failure)ci-fix.ymlai-workflows/ci-fix.yml@mainpull_request_review: [submitted]final-pr-review.ymlai-workflows/final-pr-review.yml@mainissues/PR [opened, labeled, ready_for_review]project-router.ymlai-workflows/project-router.yml@mainpush: [main]→ re-dispatchpost-merge-docs-review.ymlai-workflows/post-merge-docs-review.yml@mainDropped from this wiring (intentionally)
claude-review.yml— DEPRECATED upstream 2026-04-04 ("Removed in favor of Gemini + Copilot PR reviews"). All upstream jobs gatedif: false— caller would silently skip.pr-issue-linker.yml— auto-triggers explicitly disabled in the source workflow (workflow_dispatchonly).Pin convention
All callers pin to
@mainperci-cd-policy.md: JacobPEvans self-references use@mainor a major tag, never minor/patch SemVer.Dependency chain (DO NOT MERGE OUT OF ORDER)
docsto_all_reposand_github_app_reposanchors.JacobPEvans/docsto theGH_PAT_SECRETS_SYNC_ACTIONfine-grained PAT repository access list (manual: GitHub Settings → Developer settings → Fine-grained tokens). The sync workflow fast-fails with the exact missing repo name if access is absent.gh secret list --repo JacobPEvans/docsreturnsOPENROUTER_API_KEYand friends;gh variable list --repo JacobPEvans/docsreturnsGH_APP_CLAUDE_BOT_ID.Without the secrets in place, every caller will fail at the first
claude-code-actionstep with "secret not found." Step 4 must come after step 3.Validations passed locally
yamllint -d relaxed .github/workflows/*.yml— no warnings remaining (line-length wraps applied)actionlint .github/workflows/*.yml— no errorsTest plan (post-merge, after dependency chain resolved)
gh issue create --repo JacobPEvans/docs --title "test: pipeline e2e" --body "Trivial: fix typo in introduction.mdx"Issue Triageworkflow runs within ~60s; labels appliedIssue Resolverworkflow creates a draft PR within ~3minCI Fixworkflow pushes a fix commit within ~3minFinal PR Reviewposts a merge-readiness comment within ~2minRelated work
/ship+/finalize-prreliability fix that closes the loop on locally-edited PRs: JacobPEvans/claude-code-plugins #323 (already open)Assisted-by: Claude noreply@anthropic.com