Skip to content

Commit 51a11ab

Browse files
B4nanclaude
andcommitted
ci: rebase before pushing versioned docs commit
Add `pull: '--rebase --autostash'` to the EndBug/add-and-commit step in the docs versioning workflow so the release push does not fail when the default branch has moved forward during the job. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 67a7546 commit 51a11ab

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/manual_version_docs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ jobs:
126126
add: website/versioned_docs website/versioned_sidebars website/versions.json
127127
message: "docs: Version docs for v${{ steps.snapshot.outputs.version }} [skip ci]"
128128
default_author: github_actions
129+
pull: '--rebase --autostash'
129130

130131
- name: Resolve output commitish
131132
id: resolve_commitish

0 commit comments

Comments
 (0)