From 4be1733140cfe41ef1cc8160a91a8d50d66033ef Mon Sep 17 00:00:00 2001 From: Vault Automation Date: Fri, 6 Feb 2026 14:40:57 -0500 Subject: [PATCH] hooks(pre-push): do not require .git when matching enterprise origin URLs (#12235) (#12238) Signed-off-by: Ryan Cragun Co-authored-by: Ryan Cragun --- .hooks/pre-push | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.hooks/pre-push b/.hooks/pre-push index 433eea3c86..75cedf645e 100755 --- a/.hooks/pre-push +++ b/.hooks/pre-push @@ -60,7 +60,7 @@ fail() { # that of hashicorp/vault-enterprise, otherwise it returns 1. remote_url_is_enterprise() { case "$1" in - git@github.com:hashicorp/vault-enterprise.git | https://github.com/hashicorp/vault-enterprise.git) + git@github.com:hashicorp/vault-enterprise* | https://github.com/hashicorp/vault-enterprise*) return 0 ;; *)