mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
83e107673f
commit
8589191060
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue