fix(ci): unshallow gate replay history

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
+1 -1
View File
@@ -16,7 +16,7 @@ test('Woodpecker runs gate verification on every pipeline without a path filter'
pipeline.match(/\n gate-verify:\n([\s\S]*?)(?=\n [a-z][a-z0-9-]+:|\nservices:)/)?.[1] ?? '';
assert.match(
step,
/commands:\n - \*enable_pnpm\n - apk add --no-cache bubblewrap\n - pnpm gate:verify\n/,
/commands:\n - \*enable_pnpm\n - apk add --no-cache bubblewrap\n - if \[ -f \.git\/shallow \]; then git fetch --unshallow --no-tags origin; fi\n - pnpm gate:verify\n/,
);
assert.doesNotMatch(step, /\bwhen:|\bpath:/);
});