Skip to content

Update Scholar Counts #1

Update Scholar Counts

Update Scholar Counts #1

Workflow file for this run

name: Update Scholar Counts
on:
schedule:
- cron: "0 6 * * 0" # run weekly on Sundays at 06:00 UTC
workflow_dispatch: # allow manual trigger
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run script
run: python scholar_counts.py
- name: Commit and push changes
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add *.csv openfoam_trend.png
git commit -m "Weekly update of scholar counts [ci skip]" || echo "No changes"
git push