Setup auto sync for skyvern cloud (#56)

This commit is contained in:
Kerem Yilmaz
2024-03-13 00:37:18 -07:00
committed by GitHub
parent 15d78d7b08
commit 3858ec5686
2 changed files with 39 additions and 0 deletions

5
.github/sync.yml vendored Normal file
View File

@@ -0,0 +1,5 @@
Skyvern-AI/skyvern-cloud@sync-oss:
- source: skyvern/
dest: skyvern/
- source: streamlit_app/
dest: streamlit_app/

View 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