Skip to content

Automate browser based workflows with AI

[SKY-8323] Update sync (#5072)

Aaron Perez39be43ce2e42
diff --git a/.github/workflows/auto-merge-sync.yml b/.github/workflows/auto-merge-sync.yml
index a4a84c20c..8a1c6c0a1 100644
--- a/.github/workflows/auto-merge-sync.yml
+++ b/.github/workflows/auto-merge-sync.yml
@@ -9,7 +9,7 @@ permissions:
jobs:
auto-merge:
if: >
- contains(join(github.event.pull_request.labels.*.name, ','), 'sync') && contains('suchintan,wintonzheng,LawyZheng,pedrohsdb,marcmuon,celalzamanoglu,AronPerez', github.event.pull_request.user.login)
+ contains(join(github.event.pull_request.labels.*.name, ','), 'sync') && contains('suchintan,wintonzheng,LawyZheng,pedrohsdb,marcmuon,celalzamanoglu,AronPerez,claude[bot],copilot-swe-agent[bot]', github.event.pull_request.user.login)
runs-on: ubuntu-latest
steps:
@@ -43,6 +43,12 @@ jobs:
celalzamanoglu)
echo "GH_PAT=${{ secrets.CELAL_GH_PAT }}" >> $GITHUB_OUTPUT
;;
+ claude\[bot\])
+ echo "GH_PAT=${{ secrets.SKYVERN_CLOUD_GH_PAT }}" >> $GITHUB_OUTPUT
+ ;;
+ copilot-swe-agent\[bot\])
+ echo "GH_PAT=${{ secrets.SKYVERN_CLOUD_GH_PAT }}" >> $GITHUB_OUTPUT
+ ;;
*)
echo "GH_PAT=${{ secrets.SKYVERN_CLOUD_GH_PAT }}" >> $GITHUB_OUTPUT
echo "Author $PR_AUTHOR is not in the approved list"
diff --git a/.github/workflows/sync-skyvern-cloud.yml b/.github/workflows/sync-skyvern-cloud.yml
index f42453b89..c587a03e5 100644
--- a/.github/workflows/sync-skyvern-cloud.yml
+++ b/.github/workflows/sync-skyvern-cloud.yml
@@ -63,6 +63,16 @@ jobs:
echo "[email protected]" >> $GITHUB_OUTPUT
echo "GIT_USERNAME=AronPerez" >> $GITHUB_OUTPUT
;;
+ claude\[bot\])
+ echo "GH_PAT=${{ secrets.SKYVERN_CLOUD_GH_PAT }}" >> $GITHUB_OUTPUT
+ echo "GIT_EMAIL=209825114+claude[bot]@users.noreply.github.com" >> $GITHUB_OUTPUT
+ echo "GIT_USERNAME=claude[bot]" >> $GITHUB_OUTPUT
+ ;;
+ copilot-swe-agent\[bot\])
+ echo "GH_PAT=${{ secrets.SKYVERN_CLOUD_GH_PAT }}" >> $GITHUB_OUTPUT
+ echo "GIT_EMAIL=198982749+copilot-swe-agent[bot]@users.noreply.github.com" >> $GITHUB_OUTPUT
+ echo "GIT_USERNAME=copilot-swe-agent[bot]" >> $GITHUB_OUTPUT
+ ;;
*)
echo "GH_PAT=${{ secrets.SKYVERN_CLOUD_GH_PAT }}" >> $GITHUB_OUTPUT
echo "[email protected]" >> $GITHUB_OUTPUT