Skip to content

Action Jackson

Action Jackson #1635

Workflow file for this run

name: Action Jackson
on:
push:
branches:
- master
paths:
- "data/csv/**"
schedule:
- cron: "5 7 * * *"
jobs:
build:
name: Action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- run: python data/scripts/tabulate.py
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "Api Updater"
git add .
git diff-index --quiet HEAD || git commit -m "Data Updated 🦊" -a
git push