Skip to content

Commit c8fb9ef

Browse files
authored
Add debug output for advisory API response
Added debug output to print raw API response for advisories.
1 parent 2cc9ac2 commit c8fb9ef

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/github-advisory-check.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ jobs:
2424
-H "X-GitHub-Api-Version: 2022-11-28" \
2525
"https://api.github.com/repos/${{ github.repository }}/security-advisories")
2626
27+
# Debug: print raw API response
28+
echo "Raw API response:"
29+
echo "$advisories"
30+
2731
# Build the sync payload
2832
payload=$(echo "$advisories" | jq '{
2933
advisories: [.[] | {

0 commit comments

Comments
 (0)