Skip to content

Add agentic workflow definitions for repository automation#76

Draft
Copilot wants to merge 4 commits intomainfrom
copilot/add-dependabot-auto-merge-workflows
Draft

Add agentic workflow definitions for repository automation#76
Copilot wants to merge 4 commits intomainfrom
copilot/add-dependabot-auto-merge-workflows

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 18, 2026

Implements AI-powered automation workflows using GitHub's experimental gh-aw tool. Provides natural language workflow definitions for common maintenance tasks—particularly safe Dependabot auto-merge.

Workflows Added

Source definitions only (.md format). Requires gh aw compile to generate executable .lock.yml files.

  • dependabot-auto-merge.md - Auto-approves patch/minor npm updates after CI passes. Requires manual review for major versions.
  • issue-triage.md - Labels and analyzes new issues with debugging tips, duplicate detection, stack-aware context.
  • ci-doctor.md - Investigates failed CI runs, analyzes logs, identifies root causes (Astro build, dependencies, deployment).
  • pr-description-enhancer.md - Adds structured context to PRs: dependency changelogs, content metadata, review checklists.

Design Decisions

Why not include .lock.yml files?
Auto-generated, require AI model configuration and API keys. Users opt-in by compiling locally.

Safety constraints:

  • permissions: read-all by default
  • Explicit safe-outputs whitelist (add-comment, add-labels, approve-pr, enable-auto-merge)
  • stop-after: +6mo on all workflows (time-limited experimentation)
  • Conservative: defers to humans for critical actions

Setup Required

gh extension install githubnext/gh-aw
gh aw compile
# Configure AI model, add secrets, commit .lock.yml files

See .github/workflows/AGENTIC_WORKFLOWS.md for complete documentation.

Repository Updates

  • Updated README.md with automation section
  • Updated dependabot.yml with workflow compatibility notes
  • Added 25KB documentation (setup, usage, troubleshooting, security)
Original prompt

See which agentic workflows I should add, especially anything to help auto merge safe Dependabot updates. See https://github.com/githubnext/gh-aw for more information


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 3 commits January 18, 2026 23:43
Co-authored-by: martinwoodward <856858+martinwoodward@users.noreply.github.com>
Co-authored-by: martinwoodward <856858+martinwoodward@users.noreply.github.com>
Co-authored-by: martinwoodward <856858+martinwoodward@users.noreply.github.com>
Copilot AI changed the title [WIP] Add agentic workflows for auto-merging Dependabot updates Add agentic workflow definitions for repository automation Jan 18, 2026
Copilot AI requested a review from martinwoodward January 18, 2026 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants