Refresh SSA Data #102
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: Refresh SSA Data | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '5 6 * 2-6 3,6' | |
jobs: | |
scheduled: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: '3.10' | |
- run: pip3 install -r requirements.txt | |
- run: python refresh_ssa_data.py | |
- name: Commit and push if changed | |
run: |- | |
git config user.name "Actions" | |
git config user.email "actions@users.noreply.github.com" | |
git add -A | |
git commit -m "Refresh SSA data" || exit 0 | |
git push |