27 lines
618 B
YAML
27 lines
618 B
YAML
|
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@v2
|
||
|
|
||
|
- name: Git submodule update
|
||
|
run: |
|
||
|
git submodule update --recursive --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"
|