Skip to content

Commit e9bb457

Browse files
Spomkyclaude
andcommitted
ci: fetch full history in the merge-up job
The "Create Merge-Up Pull Request" job checked out with the default shallow fetch, so the source release branch (e.g. 11.4.x) was not available locally and laminas/automatic-releases failed with "fatal: not a valid object name: '11.4.x'". Use fetch-depth: 0 (as the bump job already does) so all branches are present. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 24ba0c0 commit e9bb457

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release-on-milestone-closed.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
steps:
3535
- name: "Checkout"
3636
uses: "actions/checkout@v6.0.2"
37+
with:
38+
fetch-depth: 0
3739

3840
- name: "Create Merge-Up Pull Request"
3941
uses: "laminas/automatic-releases@1.26.2"

0 commit comments

Comments
 (0)