Skip to content

Update submodules

Update submodules #74

Workflow file for this run

name: Update submodules
on: workflow_dispatch
jobs:
publish_job:
runs-on: ubuntu-latest
name: Pull and update submodules
steps:
- name: Debounce 10s
uses: zachary95/[email protected]
with:
wait: 10
- name: Checkout contents repo
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PAT }}
submodules: recursive
- name: Pull & update submodules recursively
run: |
git submodule update --init --recursive
git submodule update --recursive --remote
- name: Commit
run: |
git config user.email "[email protected]"
git config user.name "GitHub Actions"
git add --all
git commit -m "chore: update submodules" || echo "No changes to commit"
git push