We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 893a441 commit 8a28552Copy full SHA for 8a28552
1 file changed
.github/workflows/Security-Notification.yml
@@ -29,11 +29,11 @@ jobs:
29
30
# 3. Filter for NEW items only
31
# We look for Open alerts created > 65 mins ago
32
- ALERTS=$(echo "$RAW_DATA" | jq --arg TIME "$TIME_THRESHOLD" \
+ # ALERTS=$(echo "$RAW_DATA" | jq --arg TIME "$TIME_THRESHOLD" \
33
'[ .[] | select(.state == "open") | select(.created_at > $TIME) ]')
34
35
# --- FOR TESTING ONLY: UNCOMMENT BELOW TO IGNORE TIME FILTER ---
36
- # ALERTS=$(echo "$RAW_DATA" | jq '[ .[] | select(.state == "open") ]')
+ ALERTS=$(echo "$RAW_DATA" | jq '[ .[] | select(.state == "open") ]')
37
# ---------------------------------------------------------------
38
39
# 4. Check count
0 commit comments