Skip to content

Update Submodules #3166

Update Submodules

Update Submodules #3166

name: Update Submodules
on:
schedule:
- cron: '0 * * * *'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- name: Submodule update
run: |
git submodule init
git submodule update --remote --merge
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
title: 'Update submodules'
body: ''
commit-message: 'Update all submodules'
branch: submodules-update
delete-branch: true