Revert "feat: add --no-test flag to prepare-gates"
This reverts commit ee6bdb3bab.
This commit is contained in:
@@ -1384,7 +1384,6 @@ validate_changelog_merge_hygiene() {
|
||||
|
||||
prepare_gates() {
|
||||
local pr="$1"
|
||||
local skip_test="${2:-false}"
|
||||
enter_worktree "$pr" false
|
||||
|
||||
checkout_prep_branch "$pr"
|
||||
@@ -1419,9 +1418,7 @@ prepare_gates() {
|
||||
run_quiet_logged "pnpm build" ".local/gates-build.log" pnpm build
|
||||
run_quiet_logged "pnpm check" ".local/gates-check.log" pnpm check
|
||||
|
||||
if [ "$skip_test" = "true" ]; then
|
||||
echo "Test skipped (--no-test). Full suite deferred to Test phase."
|
||||
elif [ "$docs_only" = "true" ]; then
|
||||
if [ "$docs_only" = "true" ]; then
|
||||
echo "Docs-only change detected with high confidence; skipping pnpm test."
|
||||
else
|
||||
run_quiet_logged "pnpm test" ".local/gates-test.log" pnpm test
|
||||
@@ -1990,7 +1987,7 @@ main() {
|
||||
prepare_validate_commit "$pr"
|
||||
;;
|
||||
prepare-gates)
|
||||
prepare_gates "$pr" "${3:-false}"
|
||||
prepare_gates "$pr"
|
||||
;;
|
||||
prepare-push)
|
||||
prepare_push "$pr"
|
||||
|
||||
Reference in New Issue
Block a user