<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>GitHub on Know the Tech</title>
        <link>https://knowthe.tech/tags/github/</link>
        <description>Recent content in GitHub on Know the Tech</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en</language>
        <copyright>knowthe.tech</copyright>
        <lastBuildDate>Thu, 09 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://knowthe.tech/tags/github/index.xml" rel="self" type="application/rss+xml" /><item>
        <title>GitHub Agentic Workflows: Automating Cross-Repo Documentation at Scale</title>
        <link>https://knowthe.tech/p/github-agentic-workflows-automating-cross-repo-documentation-at-scale/</link>
        <pubDate>Thu, 09 Jul 2026 00:00:00 +0000</pubDate>
        
        <guid>https://knowthe.tech/p/github-agentic-workflows-automating-cross-repo-documentation-at-scale/</guid>
        <description>&lt;img src="https://knowthe.tech/imgs/github-copilot-agentic-workflows.jpg" alt="Featured image of post GitHub Agentic Workflows: Automating Cross-Repo Documentation at Scale" /&gt;&lt;h2 id=&#34;closing-the-gap-between-code-merge-and-docs-ship&#34;&gt;Closing the Gap Between Code Merge and Docs Ship
&lt;/h2&gt;&lt;p&gt;&amp;ldquo;Where are the docs?&amp;rdquo; It is a question that haunts product teams everywhere. Documentation consistently lags behind feature releases — not from lack of effort, but from process friction. A feature ships in one repository, weeks pass, a writer reverse-engineers the diff, the engineer has already moved on, and the docs finally land against a release that is already live.&lt;/p&gt;
&lt;p&gt;The Microsoft Aspire team — a small group building dev tools for distributed apps — decided to treat this as a solvable engineering problem. In a &lt;a class=&#34;link&#34; href=&#34;https://github.blog/ai-and-ml/github-copilot/automating-cross-repo-documentation-with-github-agentic-workflows/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;detailed post on the GitHub Blog&lt;/a&gt;, engineers David Pine and Peli de Halleux shared how they automated cross-repo documentation using GitHub Agentic Workflows.&lt;/p&gt;
&lt;h2 id=&#34;the-cross-repo-problem&#34;&gt;The Cross-Repo Problem
&lt;/h2&gt;&lt;p&gt;The Aspire product lives in &lt;code&gt;microsoft/aspire&lt;/code&gt; while its documentation lives in &lt;code&gt;microsoft/aspire.dev&lt;/code&gt; — different repos, deploy targets, and review chains. Cross-repo automation is where security review gets nervous and workflows stall. The old process was painful: engineer ships a feature, writer notices weeks later, opens a PR, reverse-engineers the diff, pings the engineer who half-remembers, and the docs ship late — sometimes after the release.&lt;/p&gt;
&lt;h2 id=&#34;how-agentic-workflows-works&#34;&gt;How Agentic Workflows Works
&lt;/h2&gt;&lt;p&gt;GitHub Agentic Workflows, from the GitHub Next team, is described by Pine as &amp;ldquo;GitHub Actions, but with a model as the work-item processor and guard rails that satisfy security review.&amp;rdquo; Workflows are authored as single markdown files (&lt;code&gt;.github/workflows/my-thing.md&lt;/code&gt;) with YAML-style frontmatter and an English-language prompt. At runtime, the agent runs against the prompt with a constrained toolset. Critically, the agent does not write to GitHub directly — it emits JSON &amp;ldquo;intent,&amp;rdquo; and a separate &amp;ldquo;safe-outputs handler&amp;rdquo; materializes that intent against a per-workflow GitHub App. The agent gets read access and a prompt; writes go through a tiny verifiable pipeline with explicit allow-lists.&lt;/p&gt;
&lt;h2 id=&#34;results-that-speak&#34;&gt;Results That Speak
&lt;/h2&gt;&lt;p&gt;For Aspire 13.3 and 13.4, the results are striking:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;82 feature-docs pull requests&lt;/strong&gt; merged at a &lt;strong&gt;median of 44.8 hours&lt;/strong&gt; after the product PR&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;100% merge rate&lt;/strong&gt; — every draft the agent created was eventually merged&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;38% merged within 24 hours&lt;/strong&gt;, 96% within 7 days&lt;/li&gt;
&lt;li&gt;The agent correctly determined that over 300 of 396 merged PRs needed no docs at all&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Each workflow runs on every merged pull request, reads the diff and linked issues, decides whether docs are needed, and drafts the actual content. The engineer who shipped the feature is automatically tagged as the reviewer.&lt;/p&gt;
&lt;h2 id=&#34;a-smarter-security-model&#34;&gt;A Smarter Security Model
&lt;/h2&gt;&lt;p&gt;Each workflow gets its own GitHub App token scoped to exactly two repositories. Pull requests can only land against &lt;code&gt;main&lt;/code&gt; or &lt;code&gt;release/*&lt;/code&gt; branches. Protected files like security config are off-limits by policy. The framework even falls back to filing an issue if PR creation fails — nothing is silently dropped.&lt;/p&gt;
&lt;h2 id=&#34;what-this-means&#34;&gt;What This Means
&lt;/h2&gt;&lt;p&gt;The bot handles the mechanical work — &amp;ldquo;this option was added, here&amp;rsquo;s the reference update&amp;rdquo; — while human writers focus on narrative pages, conceptual walkthroughs, and the parts of documentation that require genuine understanding. As Pine puts it: &amp;ldquo;The boring secret of good automation is that strong security constraints make the system more trustworthy and more correct.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;The full source for the &lt;code&gt;pr-docs-check&lt;/code&gt; workflow and companion automations is publicly available. For teams shipping products in one repo and docs in another, GitHub Agentic Workflows offers a proven, security-reviewed path to closing the documentation gap.&lt;/p&gt;
</description>
        </item>
        
    </channel>
</rss>
