Skip to content

Commit 754ef60

Browse files
koki-developclaude
andcommitted
sync-fork: use fetch-depth 0 to fix unrelated histories error
Shallow clone (depth=1) lacks the common ancestor between fork and upstream, causing git pull to fail with "unrelated histories". Co-Authored-By: Claude <noreply@anthropic.com>
1 parent b82a4f8 commit 754ef60

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/sync-fork.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
steps:
2222
- name: Checkout
2323
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24+
with:
25+
fetch-depth: 0
2426

2527
- name: Pull upstream changes
2628
run: |

0 commit comments

Comments
 (0)