fix(ci): unshallow gate replay history
ci/woodpecker/pr/ci Pipeline failed

This commit is contained in:
2026-07-31 21:50:54 -05:00
parent 444662e79a
commit bd603da4b0
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