From e8650a5fcb11cfdc5b5007d9f5bbaa604289a161 Mon Sep 17 00:00:00 2001 From: sagitchu <601096721@qq.com> Date: Wed, 19 Mar 2025 08:56:24 +0800 Subject: [PATCH] fix: github-token --- .github/workflows/sync-upstream.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/sync-upstream.yml b/.github/workflows/sync-upstream.yml index 22f6a977..6e5a5630 100644 --- a/.github/workflows/sync-upstream.yml +++ b/.github/workflows/sync-upstream.yml @@ -22,8 +22,7 @@ jobs: - name: Sync upstream pull requests uses: actions/github-script@v6 with: - token: ${{ secrets.PAT_TOKEN }} - # github-token: ${{ secrets.PAT_TOKEN }} + github-token: ${{ secrets.PAT_TOKEN }} script: | const upstream = 'songquanpeng/one-api'; const [owner, repo] = upstream.split('/');