Skip to content

Update repository #45

Update repository

Update repository #45

Workflow file for this run

name: Update repository
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
updater:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎
uses: actions/checkout@v3
with:
submodules: true
- name: Update submodules
run: |
git pull --recurse-submodules
git submodule update --remote --recursive
- name: Configure git author
run: |
git config user.name "GitHub Actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: commit
run: |
git add .
git commit -am "Auto updated submodule references" && git push || echo "No changes to commit"