Skip to content

Weekly Progress Report #17

Weekly Progress Report

Weekly Progress Report #17

Workflow file for this run

name: Weekly Progress Report
on:
schedule:
# Runs every Friday at 00:00 (midnight)
- cron: '0 0 * * 5'
workflow_dispatch: # Allows manual trigger
jobs:
generate-report:
runs-on: ubuntu-latest
steps:
- name: Checkout docs repo
uses: actions/checkout@v4
with:
token: ${{ secrets.PAT_TOKEN }}
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install requests
- name: Generate Weekly Report
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
ORG_NAME: ${{ github.repository_owner }}
run: python .github/scripts/generate_report.py
- name: Commit and Push Report
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add reports/
git diff --quiet && git diff --staged --quiet || (git commit -m "📊 Weekly Report - Week $(date +%V) $(date +%Y)" && git push)