Update submodules #146
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update submodules | |
on: | |
workflow_dispatch: | |
repository_dispatch: | |
types: [update] | |
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@v5 | |
with: | |
token: ${{ secrets.GH_PAT_PR }} | |
commit-message: "chore: Update submodules" | |
branch: chore/update-submodules | |
delete-branch: true | |
title: "chore: Update submodules" | |
assignees: bicstone |