Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

submodule-update-event #3837

submodule-update-event

submodule-update-event #3837

name: Update Submodules
on:
repository_dispatch:
types: [submodule-update-event]
jobs:
dispatchEvent:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.ACCESS_TOKEN }}
submodules: 'recursive'
- run: |
git config --global user.name "CORTX-OPS"
git config --global user.email "[email protected]"
- run: git submodule update --remote --checkout
- run: git add --all
- run: git commit -m "Automated submodule remote update"
- run: git push origin main