For an overview of all available workflows, see the main README.
The update documentation workflow will run on each push to main to try to update documentation in the repository. It defaults to using [Astro Starlight] (https://starlight.astro.build) for documentation generation, but you can edit it to use other frameworks if necessary.
# Install the 'gh aw' extension
gh extension install github/gh-aw
# Add the Update Docs workflow to your repository
gh aw add githubnext/agentics/update-docsThis walks you through adding the workflow to your repository.
You can start a run of this workflow immediately by running:
gh aw run update-docsMandatory Checklist
- I will review all pull requests very carefully, and carefully monitor the repository.
This workflow requires no configuration and works out of the box. You can configure documentation frameworks, documentation structure, themes, files, directories by editing the workflow file.
After editing run gh aw compile to update the workflow and commit all changes to the default branch.
- Repository contents and source code
- Issues and their metadata
- Actions workflow runs and results
- Checks and status information
- Creates pull requests with documentation updates
- Creates new branches for the documentation changes
- Makes file changes to update or add documentation
- Requires
contents: writeandpull-requests: writepermissions
- Searches for information to help improve documentation
- May look up best practices, examples, or technical references
- Review documentation update pull requests for accuracy and clarity
- Validate that documentation changes reflect actual code behavior
- Edit and improve AI-generated documentation before merging
- Test documentation examples and instructions for correctness
- Disable or uninstall the workflow if documentation updates are not improving quality
- By default this workflow will trigger for at most 30 days, after which it will stop triggering.
- This allows you to experiment with the workflow for a limited time before deciding whether to keep it active.