This repository has been archived by the owner on May 3, 2024. It is now read-only.
submodule-update-event #3835
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: | |
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 |