๐ Regular Documentation Update
February 24, 2026 ยท View on GitHub
For an overview of all available workflows, see the main README.
Automatically update documentation on each push to main
The Update Documentation workflow runs on each push to main to analyze changes and create pull requests with documentation updates. It defaults to using Astro Starlight for documentation generation.
Installation
# Install the 'gh aw' extension
gh extension install github/gh-aw
# Add the workflow to your repository
gh aw add-wizard githubnext/agentics/update-docs
This walks you through adding the workflow to your repository.
How It Works
graph LR
A[Push to Main] --> B[Analyze Changes]
B --> C[Generate Docs]
C --> D{Updates Needed?}
D -->|Yes| E[Create Doc Branch]
E --> F[Create PR]
D -->|No| G[Report: Docs Current]
The workflow may search for best practices, examples, or technical references online to improve documentation.
Usage
Configuration
This workflow requires no configuration and works out of the box. You can customize documentation frameworks, structure, themes, and directories.
After editing run gh aw compile to update the workflow and commit all changes to the default branch.
Commands
You can start a run immediately:
gh aw run update-docs
Triggering CI on Pull Requests
To automatically trigger CI checks on PRs created by this workflow, configure an additional repository secret GH_AW_CI_TRIGGER_TOKEN. See the triggering CI documentation for setup instructions.
Human in the Loop
- Review documentation update PRs for accuracy and clarity
- Validate documentation changes reflect actual code behavior
- Test documentation examples and instructions