Loading sa5/delete_old_branches.sh +1 −0 Original line number Diff line number Diff line Loading @@ -37,6 +37,7 @@ echo "" > "$LOG_FILE" # Start fresh # ==== Loop over paginated branch list ==== while true; do echo "Fetching page $page..." curl --silent --header "PRIVATE-TOKEN: $PRIVATE_TOKEN" "$1/projects/$PROJECT_ID/repository/branches?page=$page" | jq response=$(curl --silent --header "PRIVATE-TOKEN: $PRIVATE_TOKEN" \ "$1/projects/$PROJECT_ID/repository/branches?page=$page") Loading Loading
sa5/delete_old_branches.sh +1 −0 Original line number Diff line number Diff line Loading @@ -37,6 +37,7 @@ echo "" > "$LOG_FILE" # Start fresh # ==== Loop over paginated branch list ==== while true; do echo "Fetching page $page..." curl --silent --header "PRIVATE-TOKEN: $PRIVATE_TOKEN" "$1/projects/$PROJECT_ID/repository/branches?page=$page" | jq response=$(curl --silent --header "PRIVATE-TOKEN: $PRIVATE_TOKEN" \ "$1/projects/$PROJECT_ID/repository/branches?page=$page") Loading