Skip to content

update

update #441

name: Update submodules
on:
workflow_dispatch:
repository_dispatch:
types: [update]
push:
branches: [main]
permissions: {}
jobs:
update:
runs-on: ubuntu-latest
environment: update-submodules
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PAT_CHECKOUT }}
submodules: recursive
- name: Update submodules
run: git submodule update --remote --recursive
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GH_PAT_PR }}
commit-message: "chore: Update submodules"
branch: chore/update-submodules
delete-branch: true
title: "chore: Update submodules"
assignees: bicstone