Skip to content

Submodules Sync

Submodules Sync #2

name: Update git submodules
on:
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Update module
run: |
git submodule update --init --recursive --checkout -f --remote
git config --global user.name "GitHub Action"
git config --global user.email "noreply@github.com"
git status
git commit -am "Update git submodules"
git push