[sysadmin-bin] Drop pre-receive hooks for infrastructure projects



commit c73eb4a1ff84fdfa577fd32682c6390cdb18cb05
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Fri Apr 15 11:00:47 2022 +0200

    Drop pre-receive hooks for infrastructure projects

 git/gnome-pre-receive | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/git/gnome-pre-receive b/git/gnome-pre-receive
index c418987..388fb8f 100755
--- a/git/gnome-pre-receive
+++ b/git/gnome-pre-receive
@@ -51,7 +51,7 @@ while read oldrev newrev refname; do
     # to bypass if l10.gnome.org were compromised.
     [ $my_uid != $translations_uid ] || $BINDIR/pre-receive-check-translations $oldrev $newrev $refname || 
exit 1
 
-    if [[ $NAMESPACE = "GNOME" || $NAMESPACE = "Infrastructure" ]]; then
+    if [[ $NAMESPACE = "GNOME" ]]; then
         if [[ ! "$GIT_DIR" =~ .wiki.git$ ]]; then
             $BINDIR/pre-receive-check-policy $oldrev $newrev $refname || exit 1
             $BINDIR/pre-receive-check-maintainers $oldrev $newrev $refname || exit 1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]