feat(quickies-and-tutorials): add Mage-OS migration shell script #263
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: [workflow_dispatch, push, pull_request] | |
jobs: | |
update-readme: | |
name: Update Readme | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run Readme Editor | |
run: | | |
php csv2md.php resources.csv README.md | |
git config user.name "Update README Action" | |
git config user.email github-actions@github.com | |
if [[ `git status --porcelain` ]]; then git add . && git commit -m "README.md updated by action" && git push; fi |