File tree Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -75,23 +75,13 @@ jobs:
7575 done
7676 }
7777
78- # Try excluding forks first
79- echo "First pass: excluding forks (fork:false )"
78+ # Execute search ( forks excluded)
79+ echo "Executing search query ( forks excluded )"
8080 fetch_repos "$BASE_QUERY fork:false" "$TMP"
8181 COUNT=$(sort -u "$TMP" | grep -c . || true)
82- echo "Unique repositories after first pass: $COUNT"
83-
84- # Fallback: include forks if excluding forks returns zero
85- if [ "$COUNT" -eq 0 ]; then
86- echo "No results without forks; retrying including forks."
87- : > "$TMP"
88- fetch_repos "$BASE_QUERY" "$TMP"
89- COUNT=$(sort -u "$TMP" | grep -c . || true)
90- echo "Unique repositories after including forks: $COUNT"
91- fi
82+ echo "Unique repositories: $COUNT"
9283
93- echo "Listing up to 50 unique repositories:"
94- sort -u "$TMP" | sed -n '1,50p'
84+ sort -u "$TMP"
9585
9686 echo "Repositories using GatewayZEVM.sol: $COUNT"
9787 echo "count=$COUNT" >> "$GITHUB_OUTPUT"
You can’t perform that action at this time.
0 commit comments