ci: checkout 改為完整歷史(fetch-depth: 0)

預設淺層 clone 只有一個 commit,Claude 需要完整歷史才能比對分支與產生 diff。

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
LittleYellow
2026-07-25 17:49:16 +08:00
parent 61d35dd851
commit 50f03d8939

View File

@@ -14,6 +14,8 @@ jobs:
runs-on: yellow-zeabur-runner runs-on: yellow-zeabur-runner
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: markwylde/claude-code-gitea-action@v1.0.20 - uses: markwylde/claude-code-gitea-action@v1.0.20
with: with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}