Skip to content

update

update #78

Workflow file for this run

name: Update submodule
on:
repository_dispatch:
types: update
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.SSH_KEY }}
submodules: true
- name: Update submodule
run: |
git submodule update --init --recursive --checkout -f --remote -- "${{github.event.client_payload.module}}"
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git commit -am "ci: ${{github.event.client_payload.module}} - ${{github.event.client_payload.sha}}"
git push