File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -892,9 +892,9 @@ jobs:
892892 fi
893893 fi
894894
895- # Poll /api/v3/analyses/<id> until status=completed (max 20 min)
895+ # Poll /api/v3/analyses/<id> until status=completed (max 120 min)
896896 SCAN_COMPLETE=false
897- for attempt in $(seq 1 120 ); do
897+ for attempt in $(seq 1 720 ); do
898898 RESULT=$(curl -sf --max-time 10 \
899899 -H "x-apikey: $VT_API_KEY" \
900900 "https://www.virustotal.com/api/v3/analyses/$ANALYSIS_ID" 2>/dev/null || echo "")
@@ -945,10 +945,10 @@ jobs:
945945 # Script files (sh, ps1) are low-priority in VT queue — warn but don't block
946946 case "$BASENAME" in
947947 *.sh|*.ps1)
948- echo "WARNING: $BASENAME scan did not complete within 20 minutes (script files are low-priority in VT)"
948+ echo "WARNING: $BASENAME scan did not complete within 120 minutes (script files are low-priority in VT)"
949949 ;;
950950 *)
951- echo "BLOCKED: $BASENAME scan did not complete within 20 minutes!"
951+ echo "BLOCKED: $BASENAME scan did not complete within 120 minutes!"
952952 echo "FAIL" >> /tmp/vt_gate_fail
953953 ;;
954954 esac
You can’t perform that action at this time.
0 commit comments