Skip to content

Create update-submodules.yml #1

Create update-submodules.yml

Create update-submodules.yml #1

name: Update Submodules
on:
workflow_dispatch:
push:
branches:
- main
schedule:
- cron: '0 0 * * *'
jobs:
update-submodules:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Update Submodules
run: |
git submodule update --remote --merge
git add .
git commit -m "Update submodules" || echo "No changes to commit"
git push