etc: pre-push git hook: Also check Codeberg SSH remote.

* etc/git/pre-push (main): Check Codeberg SSH remote.

Fixes: #421
Change-Id: Id669259f510cf3e33cadf77a5c9eeada52a5d0dd
This commit is contained in:
Hilton Chain 2025-06-04 23:23:31 +08:00 committed by Leo Famulari
parent c1d6ab1a51
commit 50b69ecb40
No known key found for this signature in database
GPG key ID: 6AAC1963757F47FF

View file

@ -49,9 +49,14 @@ do
*.gnu.org*) *.gnu.org*)
perform_checks perform_checks
;; ;;
# HTTPS Git remote.
*codeberg.org/guix/*) *codeberg.org/guix/*)
perform_checks perform_checks
;; ;;
# SSH Git remote.
*codeberg.org:guix/*)
perform_checks
;;
*) *)
exit 0 exit 0
;; ;;