Update Calendso #1227
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 Calendso | |
on: | |
schedule: | |
- cron: "0 4 * * *" | |
workflow_dispatch: ~ | |
jobs: | |
sync: | |
name: 'Submodules Sync' | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: Git submodule update | |
run: | | |
git submodule update --remote --init | |
- name: Commit | |
run: | | |
git config user.email "actions@github.com" | |
git config user.name "actions-user" | |
git commit -am "Auto updated submodule references" && git push || echo "No changes to commit" |