Skip to content

Commit

Permalink
Create submodule-sync.yml (calcom#2319)
Browse files Browse the repository at this point in the history
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
  • Loading branch information
zomars and baileypumfleet committed Mar 30, 2022
1 parent ef97f41 commit c58e379
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/submodule-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Submodule Sync
on:
schedule:
- cron: "15 */4 * * *"
workflow_dispatch: ~

jobs:
submodule-sync:
name: Submodule Sync
runs-on: ubuntu-latest
steps:
- name: Website Sync
uses: mheap/submodule-sync-action@v1
with: &default_sync_options
token: ${{ secrets.GITHUB_TOKEN }}
path: apps/website
ref: main
pr_branch: automated-submodule-update
target_branch: main
- name: API Sync
uses: mheap/submodule-sync-action@v1
with: *default_sync_options
path: apps/api

0 comments on commit c58e379

Please sign in to comment.