Skip to content

Automatic submodule update #885

Automatic submodule update

Automatic submodule update #885

Workflow file for this run

name: "Automatic submodule update"
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch: {}
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: 'true'
- name: Update submodules
run: |
git submodule update --remote
- name: Commit and push changes
run: |
git config user.name github-actions
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git add .
git diff --quiet && git diff --staged --quiet || git commit -m "auto: update submodules"
git push