Merge pull request #277 from oliveira-d/main-1 #357
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.md | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install depends | |
run: python -m pip install xmltodict | |
- name: Run update script | |
run: ./.github/workflows/update_readme.py | |
- name: Commit results | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Action Bot" | |
git add README.md | |
git commit README.md -m 'Re-build README.md' || echo "No changes to commit" | |
git push origin || echo "No changes to commit" |