Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

ci: fix sync workflow by using PAT for checkout (#12338)

Arvin Xu927fe3fd2238
diff --git a/.github/workflows/sync-main-to-canary.yaml b/.github/workflows/sync-main-to-canary.yaml
index d7471a63015..2f3f3127b51 100644
--- a/.github/workflows/sync-main-to-canary.yaml
+++ b/.github/workflows/sync-main-to-canary.yaml
@@ -8,7 +8,6 @@ on:
permissions:
contents: write
pull-requests: write
- workflows: write
jobs:
sync-branches:
@@ -18,6 +17,7 @@ jobs:
uses: actions/checkout@v6
with:
fetch-depth: 0
+ token: ${{ secrets.GH_TOKEN }}
- name: Set up Git
run: |