From 33bd1e3b087ccb4ccb7bee8bc1d3a2125e4218a8 Mon Sep 17 00:00:00 2001 From: TonyBlur Date: Tue, 26 May 2026 08:45:13 +0800 Subject: [PATCH] fix(ci): replace UPSTREAM_TOKEN with GITHUB_TOKEN for checkout authentication --- .github/workflows/sync-upstream.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/sync-upstream.yml b/.github/workflows/sync-upstream.yml index 2c55460..2d2c04d 100644 --- a/.github/workflows/sync-upstream.yml +++ b/.github/workflows/sync-upstream.yml @@ -18,13 +18,11 @@ jobs: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true steps: - # Checkout with UPSTREAM_TOKEN (Classic PAT with repo + workflow scope) - # GITHUB_TOKEN cannot push commits that modify .github/workflows/ files - uses: actions/checkout@v6 with: ref: master fetch-depth: 0 - token: ${{ secrets.UPSTREAM_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} persist-credentials: true - name: Clean issue notice