Skip to content

Commit

Permalink
fix: print repos
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Dec 31, 2024
1 parent 290eaf2 commit ac431a5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ac431a5

Please sign in to comment.