Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
27 lines
606 B
YAML
27 lines
606 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@v4
|
|
|
|
- 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"
|