{"id":50521272,"url":"https://github.com/dryvist/ai-workflows","last_synced_at":"2026-07-04T02:01:40.081Z","repository":{"id":338562038,"uuid":"1158296320","full_name":"dryvist/ai-workflows","owner":"dryvist","description":"Reusable AI agent workflows that run 24/7 — issue triage, code cleanup, multi-repo orchestration. Import-ready for GitHub Copilot Agentic Workflows.","archived":false,"fork":false,"pushed_at":"2026-05-29T05:22:12.000Z","size":649,"stargazers_count":2,"open_issues_count":11,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-29T05:23:28.907Z","etag":null,"topics":["agentic-workflows","ai-agents","ai-automation","automation","code-quality","devops","github-actions","github-copilot","issue-management","workflow-automation"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dryvist.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-15T05:38:33.000Z","updated_at":"2026-05-26T21:52:50.000Z","dependencies_parsed_at":"2026-02-20T13:01:36.760Z","dependency_job_id":"0a9f8f76-6b55-4cd6-bb14-8c03e2cbb27a","html_url":"https://github.com/dryvist/ai-workflows","commit_stats":null,"previous_names":["jacobpevans/ai-workflows","dryvist/ai-workflows"],"tags_count":71,"template":true,"template_full_name":null,"purl":"pkg:github/dryvist/ai-workflows","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dryvist%2Fai-workflows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dryvist%2Fai-workflows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dryvist%2Fai-workflows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dryvist%2Fai-workflows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dryvist","download_url":"https://codeload.github.com/dryvist/ai-workflows/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dryvist%2Fai-workflows/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33847276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-03T02:00:06.370Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agentic-workflows","ai-agents","ai-automation","automation","code-quality","devops","github-actions","github-copilot","issue-management","workflow-automation"],"created_at":"2026-06-03T04:03:45.649Z","updated_at":"2026-07-04T02:01:40.074Z","avatar_url":"https://github.com/dryvist.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ai-workflows\n\nReusable AI agent workflows for GitHub Actions. Each workflow is a\n`workflow_call` reusable that your repository invokes with a thin caller file.\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n[![GitHub stars](https://img.shields.io/github/stars/dryvist/ai-workflows?style=social)](https://github.com/dryvist/ai-workflows/stargazers)\n\n---\n\n## What's Inside\n\n| Workflow | Trigger | Schedule | What It Does |\n|----------|---------|----------|--------------|\n| `best-practices.yml` | `workflow_call` | Wed 3am UTC | Weekly audit creating actionable best-practices recommendations |\n| `cc-ci-fix.yml` | `workflow_run` | On CI failure | Analyzes failed CI logs and pushes fixes (max 2 attempts per PR) |\n| `cc-dep-review.yml` | `pull_request: [opened]` | On Renovate PR | Native Dependency Review + AI `risk:*` label + sticky comment; opt-in auto-merge |\n| `cc-code-simplifier.yml` | `workflow_call` | Daily 4am UTC | Simplifies recently changed code for clarity and maintainability (functionality preserved); opens a PR |\n| `cc-release-notes.yml` | `pull_request` | On release PR | Posts sticky AI release-highlights comment on release-please PRs (refreshed per head SHA) |\n| `issue-hygiene.yml` | `workflow_call` | Mon 7am UTC | Detects duplicates, links merged PRs, flags stale issues |\n| `cc-issue-resolver.yml` | `issues: [opened]` | On issue open | Creates draft PRs for simple, well-scoped issues |\n| `issue-backlog-sweep.yml` | `workflow_call` | Weekly (consumer) | Labels the oldest untriaged issues so `ai:ready` ones enter the resolver — shrinks a pre-existing backlog |\n| `issue-sweeper.yml` | `workflow_call` | Mon 6am UTC | Scans open issues, comments on progress, closes resolved |\n| `issue-triage.yml` | `issues: [opened]` | On issue open | Categorizes, deduplicates, and labels new issues |\n| `label-sync.yml` | `workflow_call` | On-demand | Syncs a canonical label set into target repositories |\n| `cc-next-steps.yml` | `workflow_call` | Daily 5am UTC | Analyzes merge momentum, suggests next logical action |\n| `notify-ai-pr.yml` | `pull_request` | On bot PR open | Posts Slack notification to a configured channel when an AI agent opens a PR |\n| `cc-post-merge-docs-review.yml` | `workflow_call` (dispatch pattern) | On merge | Reviews documentation after merges, creates fix PRs |\n| `cc-post-merge-tests.yml` | `workflow_call` (dispatch pattern) | On merge | Analyzes merged code, creates draft PRs with targeted tests |\n| `cc-pr-review-responder.yml` | `pull_request_review*` | On PR review (consumer) | Evaluates unresolved review threads, commits fixes for valid feedback, replies, and resolves them (never merges) |\n| `pr-issue-linker.yml` | `pull_request` | On PR open/close | Auto-links PRs to referenced issues via Development sidebar |\n| `project-router.yml` | `workflow_call` | On issue/PR events | Routes items to GitHub Projects with smart field assignment |\n| `repo-orchestrator.yml` | `workflow_call` | On-demand | Hub-and-spoke multi-repo workflow dispatcher |\n| `review-thread-resolver.yml` | `workflow_call` | Hourly org sweep (hub) | Resolves outdated/failed bot review threads so thread-resolution rules stop blocking merges — no AI tokens |\n\n---\n\n## Installation\n\n### Prerequisites\n\n1. [GitHub CLI](https://cli.github.com/) installed and authenticated\n2. One secret + base-URL variable configured at the org (or repo) level:\n   - Secret `GH_ACTION_AI_API_KEY` — your AI provider's API key (required by all workflows)\n   - Variable `GH_ACTION_AI_BASE_URL` — provider base URL (leave empty for direct Anthropic)\n\n### Authentication\n\nAll workflows reference a single **provider-agnostic** namespace, so you can\nswitch providers at the org level without touching any workflow. Configure these\norg (or repo) variables and secret:\n\n1. **Secret**: `GH_ACTION_AI_API_KEY` — your AI provider's API key (set a spend limit at the provider)\n2. **Variable**: `GH_ACTION_AI_BASE_URL` — provider base URL; leave empty for direct Anthropic (`https://api.anthropic.com`)\n3. **Variable**: `GH_ACTION_AI_MODEL` — default model name for your provider\n\nSet them with the GitHub CLI (org-level shown; drop `--org dryvist` for repo-level):\n\n```bash\ngh secret   set GH_ACTION_AI_API_KEY   --org dryvist   # paste your key\ngh variable set GH_ACTION_AI_BASE_URL  --org dryvist -b \"\"                       # empty = direct Anthropic\ngh variable set GH_ACTION_AI_MODEL     --org dryvist -b \"claude-sonnet-4-6\"\n```\n\nSet per-category vars (`GH_ACTION_AI_MODEL_CODE`, `_ISSUES`, `_PLAN`) to tier\nmodels by task; each falls back to `GH_ACTION_AI_MODEL`. `cc-post-merge-docs-review`\nand `cc-post-merge-tests` require at least `GH_ACTION_AI_MODEL` and fail with a\nclear error when unset. See [docs/AUTHENTICATION.md](docs/AUTHENTICATION.md) for\nprovider mapping examples and model configuration.\n\n---\n\n## Usage\n\nAdd a thin caller file to your repository that points at the reusable workflow\nyou want. Example for issue triage:\n\n```yaml\n# .github/workflows/issue-triage.yml\nname: Issue Triage\non:\n  issues:\n    types: [opened]\npermissions:\n  contents: read\n  id-token: write\n  issues: write\njobs:\n  triage:\n    uses: dryvist/ai-workflows/.github/workflows/issue-triage.yml@main\n    secrets: inherit\n```\n\nFor scheduled workflows:\n\n```yaml\n# .github/workflows/issue-sweeper.yml\nname: Issue Sweeper\non:\n  schedule:\n    - cron: \"0 6 * * 1\"\n  workflow_dispatch:\npermissions:\n  contents: read\n  id-token: write\n  issues: write\n  pull-requests: read\njobs:\n  sweep:\n    uses: dryvist/ai-workflows/.github/workflows/issue-sweeper.yml@main\n    secrets: inherit\n```\n\nEach caller declares only the `permissions` the workflow needs and passes\nsecrets through with `secrets: inherit`. See\n[docs/GETTING_STARTED.md](docs/GETTING_STARTED.md) for the full list of workflows\nwith their required permissions.\n\n---\n\n## Architecture\n\n```text\n.github/\n  prompts/              # Prompt files (one per workflow)\n  scripts/\n    render-prompt.sh    # Shared: envsubst + GITHUB_OUTPUT\n    best-practices/     # Extracted JS scripts per workflow\n    ci-fail-issue/\n    ci-fix/\n    issue-linker/\n    issue-resolver/\n    notification/\n    post-merge-docs-review/\n    post-merge-tests/\n    shared/             # Shared scripts (check-daily-limit.js, constants.js)\n    verification/       # E2E test script\n  workflows/            # Reusable workflow YAML definitions\ndocs/                   # Documentation and verification runbook\n```\n\nAll workflows use `anthropics/claude-code-action@v1` with OIDC auth (`id-token: write`).\nPrompts are rendered at runtime via `render-prompt.sh` and a sparse checkout of\nthis repository's prompts and scripts:\n\n```yaml\n- uses: actions/checkout@v6\n  with:\n    repository: dryvist/ai-workflows\n    sparse-checkout: |\n      .github/prompts\n      .github/scripts\n    path: .ai-workflows\n```\n\n---\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines on adding new workflows.\n\n## Security\n\nSee [SECURITY.md](SECURITY.md) for vulnerability reporting.\n\n## License\n\n[MIT](LICENSE)\n\n---\n\n\u003e Part of a [larger ecosystem of ~40 repos](https://docs.jacobpevans.com) — see how it all fits together.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdryvist%2Fai-workflows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdryvist%2Fai-workflows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdryvist%2Fai-workflows/lists"}