Skip to content

Commit

Permalink
feat: Add virustotal automated scanning
Browse files Browse the repository at this point in the history
We are now using virustotal to scan our .exe file(s)
That are released. Currently not applied to test releases.
  • Loading branch information
Kaurin committed Feb 24, 2024
1 parent 0a9eaa2 commit 88b7146
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,19 @@ jobs:
secrets:
GOOGLE_CREDS: ${{ secrets.GOOGLE_CREDS }}
ASSETS: ${{ secrets.ASSETS }}
virustotal:
needs: main_release
runs-on: ${{ startsWith( github.ref_name, 'test' ) && 'self-hosted' || 'ubuntu-22.04' }}
steps:
- name: Sleep for 60 seconds
run: sleep 60s
shell: bash

- name: VirusTotal Scan
uses: crazy-max/ghaction-virustotal@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
update_release_body: true
vt_api_key: ${{ secrets.VT_API_KEY }}
files: |
.exe$
10 changes: 9 additions & 1 deletion doc/dev/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,4 +335,12 @@ Once a release is created on the main branch, a workflow will trigger. It curren
### Et voila
Once the release is done, do another test, and then distribute to folks waiting for their fancy planes!
Once the release is done, do another test, and then distribute to folks waiting for their fancy planes!
## VirusTotal automated scanning
This required setting up a free VirusTotal account and then using the [virustotal][virustotal-gh-action] github action in the workflow.
We are scanning all released `.exe` files at the time of writing this.
[virustotal-gh-action]: https://github.com/marketplace/actions/virustotal-github-action

0 comments on commit 88b7146

Please sign in to comment.