diff --git a/.github/workflows/auto-sync.yml b/.github/workflows/auto-sync.yml index 17e406f..4cf6e97 100644 --- a/.github/workflows/auto-sync.yml +++ b/.github/workflows/auto-sync.yml @@ -11,6 +11,9 @@ jobs: gitee_user: ${{ secrets.GITEE_USER }} runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 + with: + persist-credentials: false - name: sync to gitee uses: Yikun/hub-mirror-action@master if: env.dst_key && env.dst_token && env.gitee_user @@ -20,4 +23,4 @@ jobs: dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} dst_token: ${{ secrets.GITEE_TOKEN }} static_list: "LinuxMirrors" - force_update: true + force_update: true \ No newline at end of file