Philipp Hörist pushed to branch master at gajim / gajim


Commits:
30e6108b by lovetox at 2022-06-27T00:57:30+02:00
chore: Update git update hook

- - - - -


1 changed file:

- .githooks/update


Changes:

=====================================
.githooks/update
=====================================
@@ -68,7 +68,10 @@ def enforce_message_rules(subject: str) -> None:
 
 def main(args: Tuple[str, str, str]) -> None:
     ref_name, old_ref, new_ref = args
-    if 'refs/tags' in ref_name:
+    print('UPDATE', ref_name, old_ref, new_ref)
+
+    if ref_name != 'refs/heads/master':
+        # We enforce only for master branch
         return
 
     shas = get_commit_shas(old_ref, new_ref)



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/30e6108b8b0617153497638a98984355e1cd8dc9

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/30e6108b8b0617153497638a98984355e1cd8dc9
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to