Bump Recipes #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
name: Bump Recipes | |
"on": [workflow_dispatch] | |
jobs: | |
bump-recipes: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2 | |
- name: Update | |
run: | | |
git submodule init | |
git submodule update | |
git submodule foreach 'git fetch --all -p' | |
git submodule foreach 'git merge origin/main' | |
- name: Commit | |
run: | | |
git add -v . | |
git config --global user.name "${GITHUB_ACTOR}" | |
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com" | |
git commit -m "Bump submodule via GitHub Action" | |
- name: Push | |
run: git push |