Skip to content

Update data/*.json #1261

Update data/*.json

Update data/*.json #1261

Workflow file for this run

name: "Update data/*.json"
on:
schedule:
- cron: "0 1 * * *"
workflow_dispatch:
jobs:
update-data:
name: Run scripts/update_data.py
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
name: Checkout repo
with:
ref: theData
token: ${{ secrets.REPO_TOKEN }}
- name: Setup Python
uses: actions/[email protected]
with:
python-version: "3.7"
- name: Run script
run: |
python3 scripts/update_data.py
- name: Commit changes
uses: EndBug/[email protected]
with:
message: 'Update data/*.json stats'
default_author: github_actions
branch: theData