From 47e6eb1bcd55afbf66246472fef738ed3623c207 Mon Sep 17 00:00:00 2001 From: sagitchu <601096721@qq.com> Date: Tue, 18 Mar 2025 16:10:54 +0800 Subject: [PATCH] fix: use the built-in token --- .github/workflows/sync-upstreem-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync-upstreem-pr.yml b/.github/workflows/sync-upstreem-pr.yml index 07c32be2..ce992f79 100644 --- a/.github/workflows/sync-upstreem-pr.yml +++ b/.github/workflows/sync-upstreem-pr.yml @@ -24,7 +24,7 @@ jobs: - name: Sync Upstream PRs env: # GITHUB_TOKEN: ${{ secrets.TOKEN }} - GH_TOKEN: ${{ secrets.TOKEN }} + GH_TOKEN: ${{ github.token }} UPSTREAM_REPO: ${{ secrets.UPSTREAM_REPO }} # 例如 'original-owner/original-repo' UPSTREAM_OWNER: ${{ secrets.UPSTREAM_OWNER }} # 例如 'original-owner' UPSTREAM_REPO_NAME: ${{ secrets.UPSTREAM_REPO_NAME }} # 例如 'original-repo'