From ad976b1983dfc08d1877f1a72782e3ec88420ac9 Mon Sep 17 00:00:00 2001 From: Marc Date: Mon, 10 Jun 2024 10:45:25 +0200 Subject: [PATCH] Update hot_cves.yml --- .github/workflows/hot_cves.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/hot_cves.yml b/.github/workflows/hot_cves.yml index dd5f5ee51a..1c057637de 100644 --- a/.github/workflows/hot_cves.yml +++ b/.github/workflows/hot_cves.yml @@ -1,28 +1,34 @@ name: Hot CVEs List on: + workflow_dispatch: schedule: - cron: '30 */2 * * *' jobs: - build: + ScheduledRun: runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["pypy3.9", "pypy3.10", "3.9", "3.10", "3.11", "3.12"] + steps: - + - name: Checkout repository uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.11' - cache: 'pip' # caching pip dependencies - run: pip install requests + python-version: ${{ matrix.python-version }} + cache: 'pip' - name: Running the HOT CVEs generator script run: | cd /home/runner/work/cve/cve + pip install requests python .github/getTrending.py + - name: Check for changes and commit if necessary run: | cd /home/runner/work/cve/cve