2022-03-30 19:37:11 +00:00
|
|
|
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
|
2022-03-30 19:51:08 +00:00
|
|
|
with:
|
2022-03-30 19:37:11 +00:00
|
|
|
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
|
2022-03-30 19:49:53 +00:00
|
|
|
with:
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
2022-03-30 19:37:11 +00:00
|
|
|
path: apps/api
|
2022-03-30 19:49:53 +00:00
|
|
|
ref: main
|
|
|
|
pr_branch: automated-submodule-update
|
|
|
|
target_branch: main
|