diff --git a/.github/workflows/build-apk.yml b/.github/workflows/build-apk.yml index 3c09d0d..c587282 100644 --- a/.github/workflows/build-apk.yml +++ b/.github/workflows/build-apk.yml @@ -26,11 +26,6 @@ on: required: false type: boolean default: false - VIRUSTOTAL_SCAN: - description: "Scan apks with VirusTotal" - required: false - type: boolean - default: false CLEANUP: description: "Clear GitHub(Useful if Telegram upload is enabled)" required: false @@ -72,11 +67,6 @@ on: required: false type: boolean default: false - VIRUSTOTAL_SCAN: - description: "Scan apks with VirusTotal" - required: false - type: boolean - default: false CLEANUP: description: "Clear GitHub(Useful if Telegram upload is enabled)" required: false @@ -147,18 +137,6 @@ jobs: run: | sleep 10 - virustotal-scan: - needs: [ upload-to-github ] - uses: nikhilbadyal/ghactions/.github/workflows/virustotal-scan.yml@main - with: - FILES: | - .apk$ - request_rate: 4 - if: inputs.VIRUSTOTAL_SCAN - secrets: - VT_API_KEY: ${{ secrets.VT_API_KEY }} - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - upload-to-telegram: needs: [ upload-to-github ] uses: nikhilbadyal/ghactions/.github/workflows/telegram-uploader.yml@main diff --git a/.github/workflows/virus-total-scan.yml b/.github/workflows/virus-total-scan.yml deleted file mode 100644 index 84c8709..0000000 --- a/.github/workflows/virus-total-scan.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: VirusTotal Scan - -on: - workflow_dispatch: - workflow_call: - secrets: - VT_API_KEY: - required: true - GH_TOKEN: - required: true - -jobs: - virustotal: - timeout-minutes: 10 - runs-on: ubuntu-latest - steps: - - name: VirusTotal Scan - if: ${{ env.HAVE_VT_API_KEY == 'true' }} - uses: nikhilbadyal/ghaction-virustotal@master - with: - vt_api_key: ${{ secrets.VT_API_KEY }} - update_release_body: true - github_token: ${{ secrets.GITHUB_TOKEN }} - request_rate: 4 - files: | - .apk$ -env: - HAVE_VT_API_KEY: ${{ secrets.VT_API_KEY != '' }} diff --git a/README.md b/README.md index 49e1e5e..0ff1bf3 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,6 @@ You can use any of the following methods to build. | [GLOBAL_OPTIONS_FILE*](#global-options-file) | Options file to be used | [Builder's default file](https://github.com/nikhilbadyal/docker-py-revanced/blob/main/apks/options.json) | | [GLOBAL_ARCHS_TO_BUILD*](#global-archs-to-build) | Arch to keep in the patched apk. | All | | REDDIT_CLIENT_ID | Reddit Client ID to patch reddit apps | None | -| VT_API_KEY | Virus Total Key to scan APKs | None | | [TELEGRAM_CHAT_ID](#telegram-support) | Receiver in Telegram upload | None | | [TELEGRAM_BOT_TOKEN](#telegram-support) | APKs Sender for Telegram upload | None | | [TELEGRAM_API_ID](#telegram-support) | Used for telegram Authentication | None |