etc: pre-push: Enforce checks on Codeberg.

* etc/git/pre-push (case *gnu.org*): Fall-through to…
(case *codeberg.org/guix/*): … this.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Tested-by: Hilton Chain <hako@ultrarare.space>
Signed-off-by: Hilton Chain <hako@ultrarare.space>
This commit is contained in:
lilyp 2025-05-25 15:15:17 +02:00 committed by Hilton Chain
parent 83e107673f
commit 8589191060
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -29,9 +29,10 @@ do
# thus there are no signatures to be verified.
if [ "$local_hash" != $z40 ]
then
# Only use the hook when pushing to Savannah.
# Only use the hook when pushing to upstream.
case "$2" in
*.gnu.org*)
*.gnu.org*) ;&
*codeberg.org/guix/*)
set -e
guix git authenticate
exec make check-channel-news