diff --git a/.github/workflows/ci-fix.yml b/.github/workflows/ci-fix.yml new file mode 100644 index 0000000..a9b217b --- /dev/null +++ b/.github/workflows/ci-fix.yml @@ -0,0 +1,38 @@ +name: CI Fix + +on: + workflow_dispatch: + workflow_run: + workflows: ["CI"] + types: [completed] + +permissions: + actions: read + contents: write + id-token: write + issues: write + pull-requests: write + +concurrency: + group: ci-fix-${{ github.event.workflow_run.head_branch || github.run_id }} + cancel-in-progress: false + +jobs: + fix: + if: >- + github.event_name == 'workflow_dispatch' || + (github.event.workflow_run.conclusion == 'failure' && + github.event.workflow_run.head_branch != 'main') + uses: JacobPEvans/ai-workflows/.github/workflows/ci-fix.yml@main + secrets: inherit + with: + repo_context: >- + Mintlify documentation site for docs.jacobpevans.com. + MDX pages with YAML frontmatter, mermaid diagrams using the + canonical hand-drawn Reef Green theme, navigation in docs.json. + ci_structure: >- + ci.yml validates docs.json with jq, installs mint via npm, and runs + mint broken-links to check internal MDX links. osv-scan.yml is a + reusable vuln-scan callout. CI fixes usually mean: docs.json JSON + syntax error, a broken internal link from a renamed/moved page, or + a mermaid block with a non-canonical theme directive. diff --git a/.github/workflows/final-pr-review.yml b/.github/workflows/final-pr-review.yml new file mode 100644 index 0000000..8511406 --- /dev/null +++ b/.github/workflows/final-pr-review.yml @@ -0,0 +1,18 @@ +name: Final PR Review + +on: + workflow_dispatch: + pull_request_review: + types: [submitted] + +permissions: + checks: read + contents: read + id-token: write + issues: write + pull-requests: write + +jobs: + review: + uses: JacobPEvans/ai-workflows/.github/workflows/final-pr-review.yml@main + secrets: inherit diff --git a/.github/workflows/issue-resolver.yml b/.github/workflows/issue-resolver.yml new file mode 100644 index 0000000..c1cc817 --- /dev/null +++ b/.github/workflows/issue-resolver.yml @@ -0,0 +1,32 @@ +name: Issue Resolver + +on: + issues: + types: [opened] + +permissions: + contents: write + id-token: write + issues: write + pull-requests: write + +concurrency: + group: >- + issue-resolver-${{ github.repository }}-${{ + github.event.issue.number }} + cancel-in-progress: false + +jobs: + run: + uses: JacobPEvans/ai-workflows/.github/workflows/issue-resolver.yml@main + secrets: inherit + with: + repo_context: >- + Mintlify documentation site for docs.jacobpevans.com. + Pages are MDX with YAML frontmatter under topic directories + (architecture/, ai-development/, automation/, security/, + infrastructure/, observability/, configuration/, nix/, tools/, + about/). Navigation lives in docs.json. Mermaid diagrams use + the canonical hand-drawn Reef Green theme directive (see + AGENTS.md). Public content only - no real IPs, hostnames, + credentials, or references to private repos. diff --git a/.github/workflows/issue-triage.yml b/.github/workflows/issue-triage.yml new file mode 100644 index 0000000..23754a6 --- /dev/null +++ b/.github/workflows/issue-triage.yml @@ -0,0 +1,18 @@ +name: Issue Triage + +on: + issues: + types: [opened] + +permissions: + contents: read + id-token: write + issues: write + +concurrency: + group: issue-triage-${{ github.repository }}-${{ github.event.issue.number }} + +jobs: + run: + uses: JacobPEvans/ai-workflows/.github/workflows/issue-triage.yml@main + secrets: inherit diff --git a/.github/workflows/post-merge-docs-review.yml b/.github/workflows/post-merge-docs-review.yml new file mode 100644 index 0000000..df69b67 --- /dev/null +++ b/.github/workflows/post-merge-docs-review.yml @@ -0,0 +1,41 @@ +name: Post-Merge Docs Review + +on: + push: + branches: [main] + workflow_dispatch: + inputs: + commit_sha: + description: "Commit SHA to review" + required: false + type: string + +permissions: + actions: write + contents: write + id-token: write + pull-requests: write + +jobs: + dispatch: + if: github.event_name == 'push' + runs-on: ubuntu-latest + env: + GH_TOKEN: ${{ github.token }} + WORKFLOW_NAME: ${{ github.workflow }} + REPO: ${{ github.repository }} + COMMIT_SHA: ${{ github.sha }} + steps: + - name: Re-trigger as workflow_dispatch + run: | + gh workflow run "$WORKFLOW_NAME" \ + --repo "$REPO" \ + --ref main \ + -f commit_sha="$COMMIT_SHA" + + review: + if: github.event_name == 'workflow_dispatch' + uses: JacobPEvans/ai-workflows/.github/workflows/post-merge-docs-review.yml@main + secrets: inherit + with: + commit_sha: ${{ inputs.commit_sha || github.sha }} diff --git a/.github/workflows/project-router.yml b/.github/workflows/project-router.yml new file mode 100644 index 0000000..7d282bc --- /dev/null +++ b/.github/workflows/project-router.yml @@ -0,0 +1,23 @@ +name: Project Router + +on: + issues: + types: [opened, labeled] + pull_request: + types: [opened, ready_for_review] + +permissions: + contents: read + id-token: write + issues: write + pull-requests: read + +concurrency: + group: >- + project-router-${{ github.repository }}-${{ + github.event.issue.number || github.event.pull_request.number }} + +jobs: + route: + uses: JacobPEvans/ai-workflows/.github/workflows/project-router.yml@main + secrets: inherit