diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3af6b6721..d32ba7a30 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: FTP_HOST: ${{ secrets.ftp_host }} steps: - name: Checkout 🛎️ - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: # 获取所有标记和分支的所有历史记录(updatetime 必须,否则每次都会变化) fetch-depth: 0 diff --git a/.github/workflows/sync-to-other-repo.yml b/.github/workflows/sync-to-other-repo.yml index 0e260d501..1a3d6ba00 100644 --- a/.github/workflows/sync-to-other-repo.yml +++ b/.github/workflows/sync-to-other-repo.yml @@ -11,13 +11,13 @@ jobs: steps: - name: Checkout source repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: path: source fetch-depth: 0 - name: Checkout target repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: Navyum/Knowledge token: ${{ secrets.TARGET_REPO_TOKEN }}