mirror of
https://github.com/yuliskov/SmartTube.git
synced 2026-05-02 11:00:11 -05:00
Better Virus Total badges
Make badge color red if any anti virus finds malware
This commit is contained in:
@@ -57,11 +57,11 @@ jobs:
|
||||
done
|
||||
|
||||
if [ "$status" != "completed" ]; then
|
||||
echo " - [ $filename](https://www.virustotal.com/gui/file/$sha256) — BAD ❌ (analysis incomplete)" >> vt_report.txt
|
||||
echo " - [ $filename](https://www.virustotal.com/gui/file/$sha256) — BAD ❌ (analysis incomplete)" >> vt_report.txt
|
||||
elif [ "$malicious" -gt 0 ]; then
|
||||
echo " - [ $filename](https://www.virustotal.com/gui/file/$sha256) — BAD ❌" >> vt_report.txt
|
||||
echo " - [ $filename](https://www.virustotal.com/gui/file/$sha256) — BAD ❌" >> vt_report.txt
|
||||
else
|
||||
echo " - [ $filename](https://www.virustotal.com/gui/file/$sha256)" >> vt_report.txt
|
||||
echo " - [ $filename](https://www.virustotal.com/gui/file/$sha256)" >> vt_report.txt
|
||||
fi
|
||||
done
|
||||
|
||||
@@ -79,3 +79,4 @@ jobs:
|
||||
tag=$(cat release_tag.txt)
|
||||
echo "VirusTotal quick scan finished and report added to release $tag"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user