Skip to content

Conversation

@vvoland
Copy link
Contributor

@vvoland vvoland commented Jan 5, 2026

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.

Description

Related issues or tickets

Reviews

  • Technical review
  • Editorial review
  • Product review

@vvoland vvoland self-assigned this Jan 5, 2026
@netlify
Copy link

netlify bot commented Jan 5, 2026

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 1b1b173
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/695bc29e1028aa0008d834f3
😎 Deploy Preview https://deploy-preview-23925--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions bot added area/release Relates to CI or deployment ci ci updates labels Jan 5, 2026
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>
@vvoland vvoland force-pushed the gha-sync-cli-docs-singlepr branch from 6cfdbf5 to 1b1b173 Compare January 5, 2026 13:54
@vvoland
Copy link
Contributor Author

vvoland commented Jan 5, 2026

The branch name is now a const so I just extracted it to a global var

@dvdksn dvdksn merged commit 8de91a8 into docker:main Jan 5, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/release Relates to CI or deployment ci ci updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants