update #14
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 Submodule | |
on: | |
repository_dispatch: | |
types: [update] | |
jobs: | |
update-submodule: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Update Submodule | |
run: | | |
git submodule update --init --recursive | |
git submodule update --remote --merge | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
title: 'Update Submodule' | |
body: 'An update was made to the submodule.' | |
commit-message: 'chore: update submodule' | |
branch: 'update-submodule' | |
branch-suffix: timestamp | |
delete-branch: true | |
labels: dependencies | |
token: ${{ secrets.UPDATE_SUBMODULE }} |