We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4b88b4 commit 2cc9ac2Copy full SHA for 2cc9ac2
1 file changed
.github/workflows/github-advisory-check.yml
@@ -17,16 +17,12 @@ jobs:
17
GH_TOKEN: ${{ github.token }}
18
shell: bash
19
run: |
20
- # Fetch advisories in triage state using GitHub REST API
+ # Fetch all advisories (no state filter) for debugging
21
advisories=$(curl -s -L \
22
-H "Accept: application/vnd.github+json" \
23
-H "Authorization: Bearer $GH_TOKEN" \
24
-H "X-GitHub-Api-Version: 2022-11-28" \
25
- "https://api.github.com/repos/${{ github.repository }}/security-advisories?state=triage")
26
-
27
- # Debug: print raw API response
28
- echo "Raw API response:"
29
- echo "$advisories"
+ "https://api.github.com/repos/${{ github.repository }}/security-advisories")
30
31
# Build the sync payload
32
payload=$(echo "$advisories" | jq '{
0 commit comments