Update Templates #37
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 Templates | |
| on: | |
| schedule: | |
| - cron: "0 0 * * *" | |
| workflow_dispatch: # allow manual trigger | |
| jobs: | |
| update-templates: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: "recursive" | |
| - run: | | |
| git config --global user.name 'github-actions[bot]' | |
| git config --global user.email '[email protected]' | |
| git submodule update --remote | |
| git add templates | |
| if ! git diff --cached --quiet; then | |
| git commit -m "Update templates" | |
| git push | |
| fi |