Adopt GitHub Agentic Workflows for issue, PR, and documentation automation
@arnaudlh is already working on this.
Since May 5, 2026.
Assessment
This issue has not been assessed yet.
Description
Summary
Introduce GitHub Agentic Workflows (gh-aw) to Azure/git-ape to automate repetitive maintainer tasks, keep documentation evergreen, and improve contributor experience — aligning with the repo's mission as a platform engineering framework for the agentic age.
Agentic workflows are authored in Markdown, compiled to hardened GitHub Actions via the gh aw CLI, and run with guardrails (sandboxed execution, scoped tokens, audit trails, output validation). They support multiple engines (Copilot, Claude, Codex).
Motivation
- Reduce maintainer toil on triage, review, and docs upkeep.
- Dogfood agentic patterns in a repo explicitly about the agentic age.
- Provide a reference implementation contributors can learn from.
Proposed workflows
🗂️ Issue management
- Issue Triage Agent — On
issues.opened/reopened: classify, apply labels (bug,feature,docs,question), detect likely duplicates, request missing repro info, and post a welcome/next-steps comment. - Stale Issue/PR Groomer — Weekly schedule: summarize aging items, ping assignees, and suggest closure for abandoned items (human-in-the-loop).
🔀 Pull Request management
- PR Review Agent (Shell-focused) — On
pull_request.opened/synchronize: AI-assisted review tuned for Shell best practices (shellcheck-style issues, quoting,set -euo pipefail, error handling, portability). - PR Describer / Summarizer — Auto-generate or enrich thin PR descriptions, suggest labels, and draft changelog entries from the diff.
📚 Documentation evergreen
- Docs Drift Detector — On push to
main: detect when script behavior, CLI flags, or configuration diverge fromREADME.md/ docs and open a PR with proposed updates. - README & Examples Refresh — Monthly schedule: validate that commands/snippets in README still run and refresh outdated examples.
🛠️ Repo maintenance
- CI Failure Triager — On workflow failure on
main: analyze logs, identify root cause, open or update a tracking issue with a suggested fix. - Weekly Repo Health Report — Scheduled digest issue summarizing new/closed issues, merged PRs, contributor activity, and flagged hotspots.
Implementation plan
- Bootstrap
- Install
gh awCLI locally for authoring/compiling. - Add
.github/workflows/agentic/directory for Markdown workflow sources. - Document local authoring flow in
CONTRIBUTING.md.
- Install
- Guardrails & secrets
- Decide on engine(s): Copilot by default; allow opt-in to Claude/Codex.
- Configure least-privilege
GITHUB_TOKENscopes per workflow. - Enable required-reviewer gates on any agent-opened PRs.
- Rollout (phased)
- Phase 1: Issue Triage + PR Describer (low-risk, read/label focused).
- Phase 2: PR Review Agent + Docs Drift Detector.
- Phase 3: CI Failure Triager, Stale Groomer, Health Report, README Refresh.
- Observability
- Enable workflow run summaries and agent audit logs.
- Track metrics: time-to-triage, PR review latency, doc drift PRs merged.
Acceptance criteria
-
gh awbootstrapped and documented inCONTRIBUTING.md. - At least Phase 1 workflows running on
main. - Each workflow has a short README describing intent, triggers, and how to disable.
- Maintainer opt-out path documented (labels like
no-agentto skip automation).
References
- GitHub Agentic Workflows — Home
- GitHub Blog: Automate repository tasks with GitHub Agentic Workflows
- Getting Started guide (josh-ops)
Labels (suggested)
enhancement, automation, documentation, good first issue (for individual sub-tasks if broken out)
- Dominant language
- JavaScript
- Stars
- 269
- Forks
- 45
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 15
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/git-ape
-
daily-status report
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
agentic-workflows
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
agentic-workflows
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
agentic-workflows
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
agentic-workflows
Difficulty 3/5 1-2 days Newbie friendliness 48/100
Similar issues
-
curation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
amponce/archive-movie-browser#186 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
clerk/javascript#9852 ·
-
bug p1 tools
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
factory-active factory-automatic task-bug-reproduction-cannot-reproduce task-identify-harness-labels-done task-identify-issue-type-done
Difficulty 2/5 1-3 hours Newbie friendliness 84/100