Arta Security Auto Update #259
This file contains hidden or 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: Arta Security Auto Update | |
| on: | |
| schedule: | |
| - cron: "0 */6 * * *" | |
| workflow_dispatch: | |
| jobs: | |
| security-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Setup Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.10' | |
| - name: Run auto alerts | |
| run: python scripts/auto_alert.py | |
| - name: Update README timestamp | |
| run: | | |
| echo "" >> README.md | |
| echo "Last security research update: $(date)" >> README.md | |
| - name: Commit changes | |
| run: | | |
| git config --global user.name "security-bot" | |
| git config --global user.email "bot@github.com" | |
| git add . | |
| git commit -m "auto: security update + alerts" || echo "no changes" | |
| git push |