]> git.ozlabs.org Git - next-scripts/blobdiff - push-pending-fixes
add push-pending-fixes and notify when the branch is updated
[next-scripts] / push-pending-fixes
diff --git a/push-pending-fixes b/push-pending-fixes
new file mode 100755 (executable)
index 0000000..9ed5ab9
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+read -r -p "Yubikey token: " tok
+# shellcheck disable=SC2029
+ssh git@gitolite.kernel.org 2fa val-session "$tok"
+
+git push -f korg refs/heads/pending-fixes:refs/heads/pending-fixes
+
+ssh -O exit git@gitolite.kernel.org
+
+exit 0