updates strontium isoscapes task names #29
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 csv and README with csv changes | |
on: | |
push: | |
paths: | |
- 'data/**/*.csv' | |
pull_request: | |
paths: | |
- 'data/**/*.csv' | |
types: [closed] | |
jobs: | |
update_readme: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v3 | |
- name: set up python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.x' | |
- name: install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pandas | |
pip install tabulate | |
- name: process csv and README | |
run: | | |
python build/update-csv-and-readme.py | |
- name: commit changes | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
git add README.md | |
git add data/archaeology-machine-learning-data.csv | |
git commit -m "updates csv and README with csv changes" | |
- name: push changes | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |