Skip to content

Update Submodules

Update Submodules #556

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