Loading sa5/delete_old_branches.sh +3 −3 Original line number Diff line number Diff line Loading @@ -46,9 +46,9 @@ while true; do fi echo "$response" | jq -c '.[]' | while read -r branch; do branch_name=$(echo "$branch" | jq -r '.name') is_protected=$(echo "$branch" | jq -r '.protected') last_commit_date=$(echo "$branch" | jq -r '.commit.committed_date') branch_name=$(printf '%s' "$branch" | jq -r '.name') is_protected=$(printf '%s' "$branch" | jq -r '.protected') last_commit_date=$(printf '%s' "$branch" | jq -r '.commit.committed_date') if [ "$is_protected" = "true" ]; then echo "Skipping protected branch: $branch_name" Loading Loading
sa5/delete_old_branches.sh +3 −3 Original line number Diff line number Diff line Loading @@ -46,9 +46,9 @@ while true; do fi echo "$response" | jq -c '.[]' | while read -r branch; do branch_name=$(echo "$branch" | jq -r '.name') is_protected=$(echo "$branch" | jq -r '.protected') last_commit_date=$(echo "$branch" | jq -r '.commit.committed_date') branch_name=$(printf '%s' "$branch" | jq -r '.name') is_protected=$(printf '%s' "$branch" | jq -r '.protected') last_commit_date=$(printf '%s' "$branch" | jq -r '.commit.committed_date') if [ "$is_protected" = "true" ]; then echo "Skipping protected branch: $branch_name" Loading