From 7430b5d735e3cecb79fe45e8c1c78e27ddb2a09c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 26 Feb 2026 04:21:36 +0000 Subject: [PATCH] docs: document gh aw update graceful behavior when no source field Update the `update` command section to clarify that the command exits gracefully with an informational message when no workflows have a `source` field, rather than returning an error. Co-Authored-By: Claude Sonnet 4.6 --- docs/src/content/docs/setup/cli.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/content/docs/setup/cli.md b/docs/src/content/docs/setup/cli.md index 4e5a8a1d31..dc73911b24 100644 --- a/docs/src/content/docs/setup/cli.md +++ b/docs/src/content/docs/setup/cli.md @@ -411,6 +411,8 @@ gh aw remove my-workflow Update workflows based on `source` field (`owner/repo/path@ref`). By default, performs a 3-way merge to preserve local changes; use `--no-merge` to override with upstream. Semantic versions update within same major version. +If no workflows in the repository contain a `source` field, the command exits gracefully with an informational message rather than an error. This is expected behavior for repositories that have not yet added updatable workflows. + ```bash wrap gh aw update # Update all with source field gh aw update ci-doctor # Update specific workflow (3-way merge)