🐎 ci: TEST #26
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
on: | |
push: | |
branches: | |
- master | |
name: Contributes | |
jobs: | |
update-readme: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run update script | |
run: node .github/scripts/update-readme.js | |
- name: Commit and push if changed | |
run: | | |
git diff | |
git config --global user.email "[email protected]" | |
git config --global user.name "GitHub Action" | |
git commit -am "Update README" -a || echo "No changes to commit" | |
git push |