From c58e3791d1b46ddfbe189f0b2bb5d9862e287252 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Omar=20L=C3=B3pez?= Date: Wed, 30 Mar 2022 12:37:11 -0700 Subject: [PATCH] Create submodule-sync.yml (#2319) Co-authored-by: Bailey Pumfleet --- .github/workflows/submodule-sync.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/submodule-sync.yml diff --git a/.github/workflows/submodule-sync.yml b/.github/workflows/submodule-sync.yml new file mode 100644 index 00000000..188f10a8 --- /dev/null +++ b/.github/workflows/submodule-sync.yml @@ -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