From ac431a5595fbcbcfc33de29e2cd5d7ae8560ab05 Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Tue, 31 Dec 2024 10:32:39 +0100 Subject: [PATCH] fix: print repos --- scripts/sync.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/sync.sh b/scripts/sync.sh index 5a8e2ab..262e671 100755 --- a/scripts/sync.sh +++ b/scripts/sync.sh @@ -101,7 +101,12 @@ function replicate_all { ".github" ) - gh repo list ory --visibility public --no-archived --source --json name -L 1000 | jq -r '.[] | .name' | while read -r repo_name; do + 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 # Check if the repository is in the exclusion list for excluded_repo in "${exclusion_list[@]}"; do if [[ "$repo_name" == "$excluded_repo" ]]; then