fix(ci): unshallow gate replay history

This commit is contained in:
2026-08-01 09:58:46 -05:00
parent 0b4aa4751a
commit e89599758b
4 changed files with 7 additions and 3 deletions
+3
View File
@@ -72,9 +72,12 @@ steps:
# step-level `when`, because a gate can be disabled by changes outside its own path.
gate-verify:
image: *node_image
# Woodpecker's shallow marker makes merge-base reject even present parents;
# full history is required for prospective own-tree replay.
commands:
- *enable_pnpm
- apk add --no-cache bubblewrap
- if [ -f .git/shallow ]; then git fetch --unshallow --no-tags origin; fi
- pnpm gate:verify
depends_on:
- install