---
title: "Automating cross-repo documentation with GitHub Agentic Workflows"
description: "Aspire's team uses GitHub Agentic Workflows to auto-draft documentation pull requests in a separate docs repo whenever a product pull request merges, with the shipping engineer assigned as reviewer."
url: "https://swe.quest/articles/automating-cross-repo-documentation-with-github-agentic-workflows-e38fd8e813d70616"
canonical: "https://github.blog/ai-and-ml/github-copilot/automating-cross-repo-documentation-with-github-agentic-workflows/"
source: "GitHub Engineering"
published: "2026-07-08"
difficulty: "medium"
kind: "Case study"
reading_minutes: 9
tags: ["ai-agents","documentation","ci-cd","supply-chain-security","developer-productivity"]
---

# Automating cross-repo documentation with GitHub Agentic Workflows

A post on [GitHub Engineering](https://swe.quest/sources/github.md), published 2026-07-08, 9 min read, Case study. Original: [https://github.blog/ai-and-ml/github-copilot/automating-cross-repo-documentation-with-github-agentic-workflows/](https://github.blog/ai-and-ml/github-copilot/automating-cross-repo-documentation-with-github-agentic-workflows/)

## Summary

Aspire's team uses GitHub Agentic Workflows to auto-draft documentation pull requests in a separate docs repo whenever a product pull request merges, with the shipping engineer assigned as reviewer. The agent gets read-only access and emits intent, while a narrowly scoped safe-outputs handler with a two-repo GitHub App token, branch allow-lists, protected files and draft-only PRs performs the writes. A deterministic bash resolver maps milestones to docs release branches before the agent runs. Over 30 days, 396 runs produced 82 docs PRs, all merged, at a median 44.8 hours, after the prompt was tightened with negative examples to cut an initial ~13% false-positive rate.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Documentation](https://swe.quest/tags/documentation.md) (Engineering practices)
- [CI/CD](https://swe.quest/tags/ci-cd.md) (Reliability & operations)
- [Supply chain security](https://swe.quest/tags/supply-chain-security.md) (Security)
- [Developer productivity](https://swe.quest/tags/developer-productivity.md) (Engineering practices)

## Prerequisites

- GitHub Actions workflows ([easy posts on CI/CD](https://swe.quest/tags/ci-cd.md?difficulty=easy))
- GitHub Apps and token scoping

## Keywords

GitHub Agentic Workflows, GitHub Actions, Aspire, Astro, Starlight, safe-outputs, GitHub Next

## Related posts

- [Accelerating Delivery: How AI Agents Can Own the Initial Code Draft](https://swe.quest/articles/accelerating-delivery-how-ai-agents-can-own-the-initial-code-draft-da9fd13a9d30a074.md): 8th Light · 2026-05-05 · Easy · 6 min read · AI agents, AI for coding, Developer productivity
  A multi-agent workflow turns a Jira ticket prompt like "Let's work on FEAT-123" into a review-ready pull request.
- [From Weeks to Hours: Inside Wix’s Autonomous Bug-Fixing System](https://swe.quest/articles/from-weeks-to-hours-inside-wix-s-autonomous-bug-fixing-system-60c0afee518a78c2.md): Wix Engineering · 2026-08-19 · Medium · 9 min read · AI agents, AI for coding, Debugging, System design
  Wix Orchestrator turns user support tickets into reviewed pull requests in hours instead of weeks.
- [The Interaction Changes Everything: Treating AI Agents as Collaborators, Not Automation](https://swe.quest/articles/the-interaction-changes-everything-treating-ai-agents-as-collaborators-not-e493683d4eddf19c.md): Engineering@Microsoft · 2025-12-03 · Medium · 9 min read · AI agents, AI for coding, LLMs, Refactoring & migrations
  Microsoft's Entra SDK v1-to-v2 migration across hundreds of repositories succeeded with an AI coding agent only after the team replaced step-by-step checklists with prompts that give the agent a role, mission and permission to use judgment.
- [Keeping code moving with clearer review expectations](https://swe.quest/articles/keeping-code-moving-with-clearer-review-expectations-053fec0d580ce694.md): Sourcegraph · 2026-11-10 · Medium · 4 min read · Code review, AI agents, Developer productivity, AI for coding
  Sourcegraph is experimenting with an AI agent that routes each pull request to one of three review paths: Ship (no review), Show (review after merge) or Ask (review before merge).
- [Building effective agent automations](https://swe.quest/articles/building-effective-agent-automations-abcba7937b1d5df2.md): claude.dev · 2026-10-08 · Medium · 12 min read · AI agents, LLMs, Resilience
  A scheduled daily-brief agent built on Claude Managed Agents reads Slack channels and GitHub pull requests, tracks what changed since the last run, and posts a short brief to Slack.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
