Skip to content

πŸ”„ Update data #3

πŸ”„ Update data

πŸ”„ Update data #3

Workflow file for this run

name: πŸ”„ Update data
on:
workflow_dispatch:
jobs:
update-data:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run download-data script
run: pipx run scripts/download-data.py
- name: Install pre-commit
run: pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files
continue-on-error: true
- name: Commit and push changes
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add .
git diff-index --quiet HEAD || (git commit -m "πŸ†• Update data" && git push origin main)