From 13c975f247aae6ea95c39456ef5aa2743e8febcb Mon Sep 17 00:00:00 2001 From: Adam Wolfe Gordon Date: Mon, 15 Jun 2026 16:31:39 -0600 Subject: [PATCH 1/2] ci: Re-use the existing docs update PR if it's still open Set a static branch name in the `create-pull-request` action that updates the reference docs so that if an existing docs update PR is open it will be re-used. This avoids creating a sequence of PRs (of which it makes sense to merge only the most recent) if we don't review and merge them right away. Signed-off-by: Adam Wolfe Gordon --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4508f90b..712b244e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -262,5 +262,8 @@ jobs: path: ./docs commit-message: Update master CLI reference docs for ${{ needs.build-artifacts.outputs.version }} title: Update master CLI reference docs for ${{ needs.build-artifacts.outputs.version }} - branch: cli-docs-${{ needs.build-artifacts.outputs.version }} + # We use a static branch name so that if an existing PR is already + # open it gets updated, rather than opening a sequence of PRs of which + # it makes sense to merge only the most recent. + branch: auto-update-cli-docs add-paths: content/cli/master/command-reference.md From e3871f9bcd2f9921dee0ca88e533b6c2afa93a4d Mon Sep 17 00:00:00 2001 From: Adam Wolfe Gordon Date: Mon, 15 Jun 2026 16:38:49 -0600 Subject: [PATCH 2/2] ci: Sign off on docs update commits Have the cli-docs-bot sign its commits so that the DCO check in the docs repo will pass. Signed-off-by: Adam Wolfe Gordon --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 712b244e..b9983836 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -260,7 +260,10 @@ jobs: with: token: ${{ steps.generate-token.outputs.token }} path: ./docs - commit-message: Update master CLI reference docs for ${{ needs.build-artifacts.outputs.version }} + commit-message: | + Update master CLI reference docs for ${{ needs.build-artifacts.outputs.version }} + + Signed-off-by: cli-docs-bot title: Update master CLI reference docs for ${{ needs.build-artifacts.outputs.version }} # We use a static branch name so that if an existing PR is already # open it gets updated, rather than opening a sequence of PRs of which