package upgrades #107
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: Upgrade Example Versions | |
on: | |
push: | |
branches: | |
- 'v3' | |
paths: | |
- 'packages/material-react-table/package.json' | |
jobs: | |
run-example-upgrades: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v3 | |
- name: run-sh-script | |
run: sh upgrade-examples.sh | |
- name: Commit and push changes | |
run: | | |
git config --global user.name 'KevinVandy' | |
git config --global user.email '[email protected]' | |
git add -A | |
git commit -m "Upgrade Examples" || exit 0 # in case no changes present | |
git push origin ${{ github.head_ref }} |