Files
docker-docs/.github/workflows/sync-cli-docs.yml
Paweł Gronowski 1b1b173e43 gha/sync-cli-docs: Update existing PR instead of creating new ones
Actually we don't need to create a separate PR per each update and we
can just modify the previous one if it wasn't merged yet.

Change the workflow to use a fixed branch name and update existing PRs
when newer CLI versions are available, rather than creating multiple
PRs.

The workflow now uses a consistent branch name "bot/sync-cli-docs"
instead of timestamp-based names.

When an existing PR from this branch is found, it force-pushes the new
changes and updates the PR title and body with the latest CLI version
information.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-01-05 14:54:29 +01:00

4.0 KiB