Submodule sync (#2322)
* Create submodule-sync.yml * Update submodule-sync.yml * Update submodule-sync.yml * Update submodule-sync.yml Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
This commit is contained in:
parent
d89271759a
commit
4e102d8b30
1 changed files with 10 additions and 16 deletions
26
.github/workflows/submodule-sync.yml
vendored
26
.github/workflows/submodule-sync.yml
vendored
|
@ -6,22 +6,16 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
submodule-sync:
|
submodule-sync:
|
||||||
name: Submodule Sync
|
name: Submodule update
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Website Sync
|
- name: Checkout Code
|
||||||
uses: mheap/submodule-sync-action@v1
|
uses: actions/checkout@v2
|
||||||
|
- name: run action
|
||||||
|
uses: releasehub-com/github-action-create-pr-parent-submodule@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
path: apps/website
|
parent_repository: "calcom/cal.com"
|
||||||
ref: main
|
checkout_branch: "main"
|
||||||
pr_branch: automated-submodule-update
|
pr_against_branch: "main"
|
||||||
target_branch: main
|
owner: "calcom"
|
||||||
- name: API Sync
|
|
||||||
uses: mheap/submodule-sync-action@v1
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
path: apps/api
|
|
||||||
ref: main
|
|
||||||
pr_branch: automated-submodule-update
|
|
||||||
target_branch: main
|
|
||||||
|
|
Loading…
Reference in a new issue