Skip to content

Commit

Permalink
fix: remove gh repo list print out
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Dec 31, 2024
1 parent b3e139a commit 763e4c1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions scripts/sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 763e4c1

Please sign in to comment.