cmoscardi is updating latest bikereg info #846
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: get-bikereg-latest | |
run-name: ${{ github.actor }} is updating latest bikereg info | |
on: | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
- cron: '30 5,17 * * *' | |
jobs: | |
get-bikereg-latest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install pandas and requests | |
run: pip install pandas requests | |
- name: update events.json | |
run: python sync-events.py | |
- name: stage changed files | |
run: git add events.json | |
- name: set git username | |
run: git config --global user.name "Github action" | |
- name: set git email | |
run: git config --global user.email "no-reply@github.com" | |
- name: commit changes | |
run: git commit -m 'sync events.json' | |
- name: push changes | |
run: git push origin main |