Updated .gitmodules to use https & update Calendso submodule every 4 hours
This commit is contained in:
parent
c525716587
commit
0b58614dc0
26
.github/workflows/update-submodules.yml
vendored
Normal file
26
.github/workflows/update-submodules.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
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"
|
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -1,4 +1,4 @@
|
|||||||
[submodule "calendso"]
|
[submodule "calendso"]
|
||||||
path = calendso
|
path = calendso
|
||||||
url = git@github.com:calendso/calendso.git
|
url = https://github.com/calendso/calendso.git
|
||||||
branch = main
|
branch = main
|
||||||
|
Loading…
Reference in New Issue
Block a user