update secret (#5278)

This commit is contained in:
Archer
2025-07-22 13:08:00 +08:00
committed by GitHub
parent a2f83567d7
commit 366bccb833

View File

@@ -6,14 +6,6 @@ on:
paths: paths:
- docSite/assets/imgs/** - docSite/assets/imgs/**
workflow_dispatch: workflow_dispatch:
permissions:
contents: read
packages: write
attestations: write
id-token: write
pull-requests: write
jobs: jobs:
sync: sync:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -24,7 +16,7 @@ jobs:
- name: Run GitHub File Sync - name: Run GitHub File Sync
uses: BetaHuhn/repo-file-sync-action@v1.21.0 uses: BetaHuhn/repo-file-sync-action@v1.21.0
with: with:
GH_PAT: ${{ secrets.GITHUB_TOKEN }} GH_PAT: ${{ secrets.IMG_GH_PAT }}
CONFIG_PATH: .github/doc-sync-image.yml CONFIG_PATH: .github/doc-sync-image.yml
ORIGINAL_MESSAGE: true ORIGINAL_MESSAGE: true
SKIP_PR: true SKIP_PR: true