Skip to content

Update README table

Update README table #6

Workflow file for this run

name: Update README table
on:
schedule:
# Run every Monday at 06:00 UTC
- cron: "0 6 * * 1"
workflow_dispatch:
permissions:
contents: write
jobs:
update-table:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install dependencies
run: pip install requests
- name: Update README
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: python code/update_readme.py
- name: Commit and push changes
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add README.md
if git diff --cached --quiet; then
echo "No changes to commit."
else
git commit -m "chore: update repo table [skip ci]"
git push
fi