Update Submodules #664
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 Submodules | |
on: | |
schedule: | |
- cron: '0 12 * * *' | |
push: | |
branches: | |
- "main" | |
jobs: | |
update-modules: | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- name: 📦 Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Update Submodules | |
run: | | |
git submodule update --init --recursive | |
- name: ✏️ Commit changes | |
continue-on-error: true | |
run: | | |
cd ${{github.workspace}} | |
git config --global user.email "[email protected]" | |
git config --global user.name "Orbi-bot" | |
git add . | |
git commit -m "auto: generated typescript includes" | |
git push | |