This repository was archived by the owner on Apr 19, 2025. It is now read-only.
Update submodules #74
This file contains hidden or 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: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: 10 0 * * SUN | |
| jobs: | |
| bump: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| token: ${{ secrets.PAT_TOKEN }} | |
| submodules: true | |
| - name: Update submodules | |
| run: | | |
| git pull --recurse-submodules | |
| git submodule update --remote --recursive | |
| - name: Commit update | |
| run: | | |
| git config --global user.name "GitHub Actions" | |
| git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
| git commit -am "ci: update submodules" && git push || echo "No changes to commit" |