awesome-security #31
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: awesome-security | |
on: | |
schedule: | |
- cron: '0 1 * * *' | |
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 "[email protected]" | |
git config --global user.name "KhulnaSoft [BOT]" | |
git commit --all --message "Updated by KhulnaSoft [BOT] 🤖" || echo "no changes to commit" | |
git push |