Skip to content

Scan Release Artifacts and Update README #2

Scan Release Artifacts and Update README

Scan Release Artifacts and Update README #2

Workflow file for this run

name: "Scan Release Artifacts and Update README"
on:
schedule:
- cron: '0 2 * * *'
workflow_dispatch:
jobs:
virus-scan:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
pip install --upgrade pip
pip install requests PyGithub
- name: Download release assets
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPOSITORY_TO_SCAN: 'simplex-chat/simplex-chat'
run: python scripts/download_assets.py
- name: Scan & update README
env:
VT_API_KEY: ${{ secrets.VT_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPOSITORY_TO_SCAN: 'simplex-chat/simplex-chat'
run: python scripts/scan_and_update.py