mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
👷 Ask if user want VT Scan
This commit is contained in:
@@ -7,10 +7,15 @@ on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
SKIP_GITHUB_UPLOAD:
|
||||
description: 'Should upload to GitHub'
|
||||
description: 'Upload to GitHub'
|
||||
required: false
|
||||
type: boolean
|
||||
default: true
|
||||
SKIP_VIRUSTOTAL_SCAN:
|
||||
description: 'Scan apks with VirusTotal'
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.head_ref || github.run_id }}
|
||||
@@ -77,9 +82,16 @@ jobs:
|
||||
run: |
|
||||
sleep 10
|
||||
|
||||
virustotal-scan:
|
||||
if: ${{ inputs.SKIP_VIRUSTOTAL_SCAN }}
|
||||
needs: [ upload-to-github ]
|
||||
uses: ./.github/workflows/virus-total-scan.yml
|
||||
secrets:
|
||||
VT_API_KEY: ${{ secrets.VT_API_KEY }}
|
||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
|
||||
upload-to-telegram:
|
||||
needs: [ build-apk ]
|
||||
|
||||
uses: ./.github/workflows/telegram-uploader.yml
|
||||
secrets:
|
||||
TELEGRAM_API_ID: ${{ secrets.TELEGRAM_API_ID }}
|
||||
@@ -87,4 +99,3 @@ jobs:
|
||||
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
||||
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
|
||||
STICKER_ID: ${{ secrets.STICKER_ID }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user