From eb7797ca363c0993e3d76a232cdcf65ecc8d681d Mon Sep 17 00:00:00 2001 From: Vault Automation Date: Fri, 6 Feb 2026 15:09:47 -0500 Subject: [PATCH] hooks(pre-push): do not require .git when matching enterprise origin URLs 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 ;; *)