From e5ed381c6424362198294dab071a411781fb8148 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Thu, 8 May 2025 15:26:50 +0100 Subject: [PATCH] ci: debugging7 --- .forgejo/workflows/geyser.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/geyser.yml b/.forgejo/workflows/geyser.yml index 336dadc..72f8369 100644 --- a/.forgejo/workflows/geyser.yml +++ b/.forgejo/workflows/geyser.yml @@ -27,10 +27,10 @@ jobs: git fetch --all git pull --all branches=() - eval "$(git for-each-ref --shell --format='branches+=(%(refname))' refs/heads/)" + eval "$(git for-each-ref --shell --format='branches+=(%(refname))' refs/remotes/origin/)" for branch in "${branches[@]}"; do # need to convert "refs/heads/main" to "main" - branch_local=$(echo "$branch" | awk -F'[\\\\/]' ' { print $3 }') + branch_local=$(echo "$branch" | awk -F'[\\\\/]' ' { print $4 }') echo $branch_local #git switch $branch_local #git status