From 73ffdaaca5a016e833db98d205bd1554ef75ac3a Mon Sep 17 00:00:00 2001 From: Leonidas Conde <80922146+LeonardoDizConde@users.noreply.github.com> Date: Mon, 22 Jan 2024 16:10:58 -0300 Subject: [PATCH] CU-86a192804 - 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 $?