From 1e387eb76a3afe4c7d974e1c76441ed3a1eb9596 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Wed, 24 May 2023 06:04:58 -0600 Subject: [PATCH] ci: ensure we are on main before running --- bin/ci | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/ci b/bin/ci index 1b67822..4697ce5 100755 --- a/bin/ci +++ b/bin/ci @@ -24,6 +24,7 @@ if [ $can_sign != 1 ]; then exit 1 fi +git checkout main || handle_co_fail "main" git pull || handle_pull_fail if [ "${1}" = "update" ]; then