Skip to content

Commit 85e3aaf

Browse files
B4nanclaude
andcommitted
ci: rebase before release push in manual_version_docs
Adds `pull: '--rebase --autostash'` to the EndBug/add-and-commit step that pushes versioned docs, avoiding push failures when the branch has moved ahead. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 8e95edd commit 85e3aaf

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
default_author: github_actions
127127
# `actions/checkout` detaches HEAD on SHA refs; EndBug needs a branch to push.
128128
new_branch: ${{ github.event.repository.default_branch }}
129+
pull: '--rebase --autostash'
129130

130131
- name: Resolve output commitish
131132
id: resolve_commitish

0 commit comments

Comments
 (0)