diff --git a/scripts/sync.sh b/scripts/sync.sh index 71d1418..6f38aeb 100755 --- a/scripts/sync.sh +++ b/scripts/sync.sh @@ -104,12 +104,7 @@ function replicate_all { ".github" ) - repos=$(gh repo list ory --visibility public --no-archived --source --json name -L 1000 | jq -r '.[] | .name') - - echo "Found repositories:" - echo $repos - - echo $repos | while read -r repo_name; do + gh repo list ory --visibility public --no-archived --source --json name -L 1000 | jq -r '.[] | .name' | while read -r repo_name; do # Check if the repository is in the exclusion list for excluded_repo in "${exclusion_list[@]}"; do if [[ "$repo_name" == "$excluded_repo" ]]; then