Skip to content

Commit 8a28552

Browse files
Update Security-Notification.yml
1 parent 893a441 commit 8a28552

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/Security-Notification.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ jobs:
2929
3030
# 3. Filter for NEW items only
3131
# We look for Open alerts created > 65 mins ago
32-
ALERTS=$(echo "$RAW_DATA" | jq --arg TIME "$TIME_THRESHOLD" \
32+
# ALERTS=$(echo "$RAW_DATA" | jq --arg TIME "$TIME_THRESHOLD" \
3333
'[ .[] | select(.state == "open") | select(.created_at > $TIME) ]')
3434
3535
# --- FOR TESTING ONLY: UNCOMMENT BELOW TO IGNORE TIME FILTER ---
36-
# ALERTS=$(echo "$RAW_DATA" | jq '[ .[] | select(.state == "open") ]')
36+
ALERTS=$(echo "$RAW_DATA" | jq '[ .[] | select(.state == "open") ]')
3737
# ---------------------------------------------------------------
3838
3939
# 4. Check count

0 commit comments

Comments
 (0)