Setup auto sync for skyvern cloud (#56)
This commit is contained in:
5
.github/sync.yml
vendored
Normal file
5
.github/sync.yml
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
Skyvern-AI/skyvern-cloud@sync-oss:
|
||||
- source: skyvern/
|
||||
dest: skyvern/
|
||||
- source: streamlit_app/
|
||||
dest: streamlit_app/
|
||||
34
.github/workflows/sync-skyvern-cloud.yml
vendored
Normal file
34
.github/workflows/sync-skyvern-cloud.yml
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
name: Sync to skyvern-cloud
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
sync:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@master
|
||||
- name: Run GitHub File Sync
|
||||
uses: BetaHuhn/repo-file-sync-action@v1
|
||||
with:
|
||||
GH_PAT: ${{ secrets.SKYVERN_CLOUD_GH_PAT }}
|
||||
- uses: actions/checkout@master
|
||||
with:
|
||||
token: ${{ secrets.SKYVERN_CLOUD_GH_PAT }}
|
||||
repository: Skyvern-AI/skyvern-cloud
|
||||
- name: Create PR in skyvern-cloud
|
||||
uses: peter-evans/create-pull-request@v6
|
||||
with:
|
||||
token: ${{ secrets.SKYVERN_CLOUD_GH_PAT }}
|
||||
commit-message: Sync from open source skyvern
|
||||
title: Sync from open source skyvern
|
||||
branch: sync-oss
|
||||
base: main
|
||||
body: |
|
||||
This PR was automatically created by the sync-skyvern-cloud.yml workflow.
|
||||
It syncs the main branch of the skyvern repository to the main branch of the skyvern-cloud repository.
|
||||
Please review and merge this PR if it looks good.
|
||||
labels: sync
|
||||
draft: false
|
||||
Reference in New Issue
Block a user