Skip to content

Commit 550c080

Browse files
committed
Debug echo of the response.
1 parent 2ecc5b7 commit 550c080

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

FetchGHSponsors/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ runs:
1717
-H "Authorization: Bearer $GH_TOKEN" \
1818
-H "Content-Type: application/json" \
1919
-d "{\"query\":\"$QUERY\",\"variables\":{\"login\":\"$GH_LOGIN\"}}")
20+
21+
echo "=== Raw GraphQL response ==="
22+
echo "$RESP"
23+
echo "============================"
24+
2025
CENTS=$(echo "$RESP" | jq '.data.organization.monthlyEstimatedSponsorsIncomeInCents // 0')
2126
COUNT=$(echo "$RESP" | jq '.data.organization.sponsorshipsAsMaintainer.totalCount // 0')
2227
jq -n --argjson sum "$CENTS" --argjson count "$COUNT" \

0 commit comments

Comments
 (0)