fix picasso #36
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 README | |
on: | |
push: | |
paths: | |
- 'chains.json' | |
jobs: | |
update_readme: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
- name: Update main README | |
run: node .github/actions/update_readme.js | |
- name: Commit changes | |
run: | | |
git config --local user.email "action@github.com" | |
git config --local user.name "GitHub Action" | |
git config --global core.autocrlf true | |
git add -A | |
git commit -m "Update main README" || echo "No changes to commit" | |
git pull --rebase | |
git push |