fix issue with labelle name. #136
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 json | |
on: | |
push: | |
branches: [dev] | |
workflow_dispatch: | |
jobs: | |
report: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Update last-updated.json | |
run: | | |
python3 last_updated.py | |
- name: Update sha1sum.json | |
run: | | |
python3 sha1sum.py | |
- name: Commit json files | |
run: | | |
git config --global user.name 'N3evin (Automated)' | |
git config --global user.email 'N3evin@users.noreply.github.com' | |
git add -A sha1sum.json last-updated.json | |
if git commit -m "[Automated] Update: $(git diff --name-only --staged)"; then | |
git push | |
fi |