Update Submodules #245
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: | |
schedule: | |
- cron: "12 3 * * *" | |
workflow_dispatch: | |
jobs: | |
update: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/[email protected] | |
with: | |
submodules: true | |
- run: git submodule update --remote | |
- run: git config --global user.name "GitHub Actions" && git config --global user.email "[email protected]" | |
- run: git add * && git commit -m "Updated Submodule Revisions" && git push | |