Skip to content

.github/workflows/actions.yml #39

.github/workflows/actions.yml

.github/workflows/actions.yml #39

Workflow file for this run

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Run
run: make
- name: Commit and Push
run: |
git config --global user.name "GitHub Action"
git config --global user.email "actions@users.noreply.github.com"
git add -A
if git diff-index --quiet HEAD --; then
echo "No changes to commit"
else
git commit -m "Update data"
git push
fi