Skip to content

Update Progress

Update Progress #5

name: Progress Tracker
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
pip install -r scripts/requirements.txt
- name: Run update script
run: |
python scripts/update_progress.py
cat README.md # Verify changes
- name: Commit and push
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"
git add .
git diff --quiet && git diff --staged --quiet || git commit -m "Update progress"
git push