{"id":50521272,"url":"https://github.com/dryvist/ai-workflows","last_synced_at":"2026-06-03T04:03:48.281Z","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-06-03T04:03:48.260Z","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. Consumer repos call these with thin ~10-20 line callers.\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n[![GitHub stars](https://img.shields.io/github/stars/JacobPEvans/ai-workflows?style=social)](https://github.com/JacobPEvans/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| `ci-fix.yml` | `workflow_run` | On CI failure | Analyzes failed CI logs and pushes fixes (max 2 attempts per PR) |\n| `claude-review.yml` | `pull_request` | On PR open/sync | Reviews PRs for quality, security, and best practices |\n| `code-simplifier.yml` | `workflow_call` | Daily 4am UTC | DRY enforcement, dead code removal, creates draft PRs |\n| `final-pr-review.yml` | `pull_request_review` | On PR review | Final review gate before merge |\n| `issue-hygiene.yml` | `workflow_call` | Mon 7am UTC | Detects duplicates, links merged PRs, flags stale issues |\n| `issue-resolver.yml` | `issues: [opened]` | On issue open | Creates draft PRs for simple, well-scoped issues |\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 canonical labels from `.github` repo to all targets |\n| `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| `post-merge-docs-review.yml` | `workflow_call` (dispatch pattern) | On merge | Reviews documentation after merges, creates fix PRs |\n| `post-merge-tests.yml` | `workflow_call` (dispatch pattern) | On merge | Analyzes merged code, creates draft PRs with targeted tests |\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\n---\n\n## Quick Start\n\n### Prerequisites\n\n1. [GitHub CLI](https://cli.github.com/) installed and authenticated\n2. One secret configured in each consumer repo:\n   - `OPENROUTER_API_KEY` — [OpenRouter](https://openrouter.ai) API key (required by all workflows)\n\n### Add a Workflow to Your Repo\n\nCreate a thin caller file in your repo. 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: JacobPEvans/ai-workflows/.github/workflows/issue-triage.yml@v0.3.0\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: JacobPEvans/ai-workflows/.github/workflows/issue-sweeper.yml@v0.3.0\n    secrets: inherit\n```\n\nSee [docs/GETTING_STARTED.md](docs/GETTING_STARTED.md) for the full list of workflows with required permissions.\n\n---\n\n## Authentication\n\nAll workflows route through [OpenRouter](https://openrouter.ai) by default. Add two things to each consumer repo:\n\n1. **Secret**: `OPENROUTER_API_KEY` — your OpenRouter API key (set a $/day spend limit)\n2. **Secret**: `OPENROUTER_BASE_URL` — set to `https://openrouter.ai/api/v1`\n\nMost workflows fall back to `openrouter/free` when no model variables are configured. Exceptions: `post-merge-docs-review` and `post-merge-tests` require `AI_MODEL_DOCS`/`AI_MODEL_CODE` or `AI_MODEL` to be set — they fail with a clear error when unconfigured. See [docs/AUTHENTICATION.md](docs/AUTHENTICATION.md) for model configuration and alternative providers.\n\n---\n\n## Architecture\n\n```\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    claude-review/\n    final-pr-review/\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 `claude-code-action@v1` with OIDC auth (`id-token: write`). Prompts are rendered at runtime via `render-prompt.sh` and the cross-repo checkout pattern:\n\n```yaml\n- uses: actions/checkout@v6\n  with:\n    repository: JacobPEvans/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","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"}