From b0548cc1028d32c9f44778cd501e9de67db406a8 Mon Sep 17 00:00:00 2001 From: Leonidas Conde <80922146+LeonardoDizConde@users.noreply.github.com> Date: Mon, 8 Jan 2024 13:47:35 -0300 Subject: [PATCH] CU-86a1927yc - Githook for push: rush change --verify --- common/git-hooks/pre-push | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 common/git-hooks/pre-push diff --git a/common/git-hooks/pre-push b/common/git-hooks/pre-push new file mode 100644 index 0000000..2fa70b9 --- /dev/null +++ b/common/git-hooks/pre-push @@ -0,0 +1,6 @@ +#!/bin/sh +# Called by "git push" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. + +node common/scripts/install-run-rush.js change --verify || exit $?