Skip to content

Commit 9a129ae

Browse files
committed
fix
1 parent 0d7faba commit 9a129ae

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

.github/workflows/analytics.yaml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)