This repository was archived by the owner on Dec 31, 2025. It is now read-only.
Merge pull request #219 from 8bitDream/submit #172
This file contains hidden or 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 '2455104+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 |