fix(ci): add fetch-depth:0 to detect-changes checkout (harness-replays) #442

Closed
core-be wants to merge 1 commits from fix/harness-replays-fetch-depth into main

View File

@ -68,6 +68,14 @@ jobs:
run: ${{ steps.decide.outputs.run }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
# fetch-depth: 0 is required so the base.sha (PR merge-base) is
# present for the git diff in the next step. Without it, the default
# fetch-depth: 1 only fetches the PR head commit; the base ref is
# absent and git diff silently returns empty, causing the detect-changes
# step to report no relevant changes even on files that ARE relevant.
# Verified 2026-05-11 against harness-replays run failures.
fetch-depth: 0
- id: decide
run: |
# workflow_dispatch: always run (manual trigger)