test: dig into why this isnt running

This commit is contained in:
silver 2025-08-05 23:04:53 +00:00
parent 785e3f7189
commit 3299103050

View file

@ -36,6 +36,8 @@ jobs:
branches=()
eval "$(git for-each-ref --shell --format='branches+=(%(refname))' refs/remotes/origin/)"
for branch in "${branches[@]}"; do
# for debugging
echo "$branch"
# need to convert "'refs/remotes/origin/main" to "main"
branch_local=$(echo "$branch" | awk -F'[\\\\/]' ' { print $4 }')
git switch $branch_local