All mutable action tags replaced with verified commit SHAs to prevent
supply-chain attacks via tag mutation. package.json ^ ranges replaced
with exact versions from package-lock.json.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Avoid repeatedly opening new PRs for the same CLI version when a
previous one was intentionally closed.
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
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>
Add deduplication logic to prevent multiple PRs for the same CLI version
and enhance PR management.
When an existing PR is found, the workflow adds a bump comment instead
of creating a duplicate.
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This adds a GitHub Actions workflow and supporting script to
automatically sync CLI documentation from the docker/cli repository on a
daily schedule.
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>