Skip to content

Commit ac431a5

Browse files
committed
fix: print repos
1 parent 290eaf2 commit ac431a5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/sync.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,12 @@ function replicate_all {
101101
".github"
102102
)
103103

104-
gh repo list ory --visibility public --no-archived --source --json name -L 1000 | jq -r '.[] | .name' | while read -r repo_name; do
104+
repos=$(gh repo list ory --visibility public --no-archived --source --json name -L 1000 | jq -r '.[] | .name')
105+
echo "Found repositories:"
106+
echo $repos
107+
echo "---"
108+
109+
$repos | while read -r repo_name; do
105110
# Check if the repository is in the exclusion list
106111
for excluded_repo in "${exclusion_list[@]}"; do
107112
if [[ "$repo_name" == "$excluded_repo" ]]; then

0 commit comments

Comments
 (0)