-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create action to virus scan all add-ons #4302
Conversation
Is it worth setting up an alias for |
Is it worth setting up an alias for jq -e --tab since that seems to be what we use most of the time? I think it might be harder than its worth at this point |
fs.writeFileSync('reviewedAddons.json', stringified); | ||
core.setFailed('VirusTotal analysis failed'); | ||
fs.writeFileSync("reviewedAddons.json", stringified); | ||
core.setFailed("VirusTotal analysis failed"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this supposed to be here? Seems like analysis hasn't failed, but the add-on has been flagged?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is so individual submissions will fail if they are flagged. We probably should have different behaviour for group runs vs individual runs
VirusTotal scanning has been enabled for newly submitted add-ons.
This PR adds a GitHub action to scan all already submitted add-ons with VirusTotal.
When the scan runs, a PR is opened to add scan URLs to add-on metadata, and update the list of approved add-ons which have Virus scanning flagged.
Example PR: nvaccess#72
Example GitHub run: https://github.com/nvaccess/addon-datastore-staging/actions/runs/10986159260/job/30499090448
Latest GitHub run: https://github.com/nvaccess/addon-datastore-staging/actions/runs/11024324626/job/30617277974
Latest results PR: https://github.com/nvaccess/addon-datastore-staging/pull/73/files