cve-monitor #13248
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: cve-monitor | |
on: | |
schedule: | |
- cron: '5 * * * *' | |
workflow_dispatch: | |
jobs: | |
cve-monitor: | |
runs-on: ubuntu-latest | |
timeout-minutes: 45 | |
environment: CI | |
steps: | |
- name: checkout the repo | |
uses: actions/checkout@v2 | |
- name: install dependencies | |
run: | | |
pip3 install -r requirements.txt | |
- name: run scraper | |
run: | | |
python3 main.py | |
- name: save changes | |
run: | | |
git config --global user.email "cvelab@users.noreply.github.com" | |
git config --global user.name "CVEDB-BOT" | |
git commit --all --message "Updated by CVEDB-BOT 🤖" || echo "no changes to commit" | |
git push |