From 366bccb83358c6e559d95162b21dc312b2488fda Mon Sep 17 00:00:00 2001 From: Archer <545436317@qq.com> Date: Tue, 22 Jul 2025 13:08:00 +0800 Subject: [PATCH] update secret (#5278) --- .github/workflows/docs-sync_imgs.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/docs-sync_imgs.yml b/.github/workflows/docs-sync_imgs.yml index 1c53d0325..be0f05b63 100644 --- a/.github/workflows/docs-sync_imgs.yml +++ b/.github/workflows/docs-sync_imgs.yml @@ -6,14 +6,6 @@ on: paths: - docSite/assets/imgs/** workflow_dispatch: - -permissions: - contents: read - packages: write - attestations: write - id-token: write - pull-requests: write - jobs: sync: runs-on: ubuntu-latest @@ -24,7 +16,7 @@ jobs: - name: Run GitHub File Sync uses: BetaHuhn/repo-file-sync-action@v1.21.0 with: - GH_PAT: ${{ secrets.GITHUB_TOKEN }} + GH_PAT: ${{ secrets.IMG_GH_PAT }} CONFIG_PATH: .github/doc-sync-image.yml ORIGINAL_MESSAGE: true SKIP_PR: true