From 79230789f362f9718f212fb967897a6ed68a2e33 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Wed, 13 Jul 2022 08:27:09 -0400
Subject: [PATCH] specify the local and remote refs for the push

---
 ci-tools/update-nixpkgs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ci-tools/update-nixpkgs b/ci-tools/update-nixpkgs
index fa0791ff..4c7d1650 100755
--- a/ci-tools/update-nixpkgs
+++ b/ci-tools/update-nixpkgs
@@ -18,7 +18,7 @@ nix-build -A morph -o result-after
 diff=$(nix --extra-experimental-features nix-command store diff-closures ./result-before/ ./result-after/)
 
 git commit -am "bump nixpkgs version"
-git push origin
+git push origin "${TARGET_BRANCH}:${TARGET_BRANCH}"
 
 BODY="{
     \"id\": ${CI_PROJECT_ID},
-- 
GitLab