[6.4.0] Bazel release process: Fix push justification. (#19768)

Commit:
https://github.com/bazelbuild/bazel/commit/46404353f8295fb6306e34b7138b622b083c8ec0

PiperOrigin-RevId: 571350496
Change-Id: I95f5a1ef32ba1df4dad7ebb9c25bf87333bc25ff

---------

Co-authored-by: Googler <fwe@google.com>
diff --git a/scripts/release/release.sh b/scripts/release/release.sh
index 69f1e31..f5bb2db 100755
--- a/scripts/release/release.sh
+++ b/scripts/release/release.sh
@@ -159,7 +159,7 @@
 # Force push a ref $2 to repo $1 if exists
 function __push_if_exists() {
   if git show-ref -q "${2}"; then
-    git push -f "${1}" "+${2}"
+    git push -f -o push-justification=b/303672453 "${1}" "+${2}"
   fi
 }
 
@@ -183,7 +183,7 @@
   do
     echo "Deleting ${branch}"
     git branch -D "${branch}" &>/dev/null || true
-    git push -f "${RELEASE_REPOSITORY}" ":${branch}" &>/dev/null || true
+    git push -f -o push-justification=b/303672453 "${RELEASE_REPOSITORY}" ":${branch}" &>/dev/null || true
   done
 }
 
@@ -223,7 +223,7 @@
     trap - EXIT
 
     echo "Pushing the change to remote repositories"
-    git push "${MASTER_REPOSITORY}" +master
+    git push -o push-justification=b/303672453 "${MASTER_REPOSITORY}" +master
     __push_ref "refs/tags/${tag_name}"
   fi
 }