From 0d62b8c5fed51ad1b36cbf055fb2eb3ff8f3e4ab Mon Sep 17 00:00:00 2001 From: "Oleg V. Kozlyuk" Date: Sat, 23 Dec 2023 15:18:06 +0300 Subject: [PATCH 1/2] Add VirusTotal scan for built binaries --- .github/workflows/build.yml | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e613523..8ae0e19 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -108,6 +108,35 @@ jobs: path: dynops_x64.so retention-days: 1 + virustotal: + name: Submit to VirusTotal + runs-on: ubuntu-latest + timeout-minutes: 10 + needs: + - build-extension-windows-x64 + - build-extension-linux-x64 + + steps: + - name: Download Windows x64 + uses: actions/download-artifact@v4 + with: + name: extension-x64-windows + path: . + + - name: Download Linux x64 + uses: actions/download-artifact@v4 + with: + name: extension-x64-linux + path: . + + - name: VirusTotal Scan + uses: crazy-max/ghaction-virustotal@v4 + with: + vt_api_key: ${{ secrets.VIRUSTOTAL_APIKEY }} + files: | + ./dynops_x64.dll + ./dynops_x64.so + build: name: Build addon runs-on: ubuntu-latest @@ -115,7 +144,7 @@ jobs: needs: - build-extension-windows-x64 - build-extension-linux-x64 - + steps: - name: Checkout uses: actions/checkout@v4 From c49cc30e57ce3e6d7373b70d2b08a07ef8364871 Mon Sep 17 00:00:00 2001 From: "Oleg V. Kozlyuk" Date: Sat, 23 Dec 2023 15:21:37 +0300 Subject: [PATCH 2/2] Add request_rate --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8ae0e19..b4a2428 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -109,7 +109,7 @@ jobs: retention-days: 1 virustotal: - name: Submit to VirusTotal + name: VirusTotal Scan runs-on: ubuntu-latest timeout-minutes: 10 needs: @@ -133,6 +133,7 @@ jobs: uses: crazy-max/ghaction-virustotal@v4 with: vt_api_key: ${{ secrets.VIRUSTOTAL_APIKEY }} + request_rate: 4 files: | ./dynops_x64.dll ./dynops_x64.so