Skip to content

Scheduling infrastructure for absolutely everyone.

Update submodule-sync.yml

zomars9a0b1832c333
diff --git a/.github/workflows/submodule-sync.yml b/.github/workflows/submodule-sync.yml
index c4b61885bdc..7183ebde7f6 100644
--- a/.github/workflows/submodule-sync.yml
+++ b/.github/workflows/submodule-sync.yml
@@ -3,7 +3,6 @@ on:
schedule:
- cron: "15 */4 * * *"
workflow_dispatch: ~
-
jobs:
submodule-sync:
name: Submodule update
@@ -11,11 +10,11 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v2
- - name: run action
- uses: releasehub-com/github-action-create-pr-parent-submodule@v1
- with:
- github_token: ${{ secrets.GH_ACCESS_TOKEN }}
- parent_repository: "calcom/cal.com"
- checkout_branch: "main"
- pr_against_branch: "main"
- owner: "calcom"
+ - name: Git submodule update
+ run: |
+ git submodule update --remote --init
+ - name: Commit
+ run: |
+ git config user.email "[email protected]"
+ git config user.name "github-actions"
+ git commit -am "Auto updated submodule references" && git push || echo "No changes to commit"