Skip to content

Commit

Permalink
Update deploy-to-smr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Panakotta00 authored Oct 29, 2024
1 parent 235c28c commit e366f1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-to-smr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ jobs:
} else {
const json = await response.json();
let mod = json.data.getModByReference.versions[0];
if (mod.approved && mod.virustotal_results.safe) {
let unsafe = virustotal_results.find(virus => !virus.safe);
if (mod.approved && !unsafe) {
console.log("Version got approved!");
return;
}
Expand Down

0 comments on commit e366f1e

Please sign in to comment.