This repository has been archived by the owner on Sep 12, 2024. It is now read-only.
Update Calendso #13
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 "[email protected]" | |
git config user.name "actions-user" | |
git commit -am "Auto updated submodule references" && git push || echo "No changes to commit" |