Update data: 2023-07-28 10:08 EDT #1180
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: update-data-sources | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: | | |
pip3 install pandas tabulate | |
python docs/data_sources/update_data_sources.py | |
git config user.name github-actions[bot] | |
git config user.email github-actions[bot]@users.noreply.github.com | |
git add -A | |
if ! git diff-index --quiet HEAD | |
then | |
git commit -m "Update data_sources.md" | |
git push | |
echo "Data sources update pushed successfully." | |
else | |
echo "No update to data_sources.md is required." | |
fi |