Skip to content

Arta Security Auto Update #262

Arta Security Auto Update

Arta Security Auto Update #262

Workflow file for this run

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