Skip to content

Update README

Update README #3

Workflow file for this run

name: Update README
on:
schedule:
- cron: '0 */12 * * *'
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests datetime
- name: Run script
run: python scripts/update_readme.py
- name: Commit and push if it changed
run: |
git diff --exit-code && exit 0
git config --global user.email "action@github.com"
git config --global user.name "GitHub Action"
git commit -am "Update README.md" || exit 0
git push