Merge pull request #3139 from wysh3/fix404 #400
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 Components Submodules | |
on: | |
push: | |
branches: | |
- dev | |
workflow_dispatch: | |
workflow_call: # This is a custom event that we will trigger manually | |
jobs: | |
update-submodules: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[skip ci]')" | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
submodules: 'recursive' | |
token: ${{ secrets.DEPLOY_KEY }} | |
- name: Update submodules | |
run: | | |
git submodule update --remote --merge | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "[skip ci] 📦 Update Submodules!" | |
commit_user_name: Zen Browser Robot | |
commit_user_email: [email protected] |