diff --git a/.forgejo/workflows/geyser.yml b/.forgejo/workflows/geyser.yml index 679e238..ce6e66d 100644 --- a/.forgejo/workflows/geyser.yml +++ b/.forgejo/workflows/geyser.yml @@ -38,6 +38,10 @@ jobs: for branch in "${branches[@]}"; do # for debugging echo "$branch" + if [ "$branch" == "refs/remotes/origin/HEAD" ]; then + continue + fi + # need to convert "'refs/remotes/origin/main" to "main" branch_local=$(echo "$branch" | awk -F'[\\\\/]' ' { print $4 }') git switch $branch_local