Skip to content

Update Progress

Update Progress #2

# .github/workflows/update_checklist.yml
name: Update Progress Checklist
on:
schedule:
- cron: '0 0 * * *' # Runs daily at midnight UTC
workflow_dispatch: # Allows manual triggering
push:
paths:
- 'PROGRESS.md' # Runs when checklist changes
jobs:
update:
runs-on: ubuntu-latest
steps:
# 1. Checkout your code
- uses: actions/checkout@v4
# 2. Set up Python
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
# 3. Install dependencies
- name: Install requirements
run: |
pip install -r scripts/requirements.txt
# 4. Run your Python script
- name: Update progress
run: |
python scripts/update_progress.py
# 5. Commit changes
- name: Commit updates
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email 'actions@github.com'
git add .
git commit -m "Automated progress update"
git push