From 0eac18be1aaac4b41a17d4c8c29ec0e8a86df7f5 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Sat, 15 Aug 2026 19:50:32 +0800 Subject: [PATCH] Fix Clang-Format workflow failure caused by shallow checkout state (#274) * Initial plan * Fix Clang-Format workflow shallow fetch failure Co-authored-by: star-e <13654656+star-e@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: star-e <13654656+star-e@users.noreply.github.com> --- .github/workflows/native-clang-format.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/native-clang-format.yml b/.github/workflows/native-clang-format.yml index 449f19302d..0f1108b911 100644 --- a/.github/workflows/native-clang-format.yml +++ b/.github/workflows/native-clang-format.yml @@ -18,6 +18,7 @@ jobs: with: token: ${{ github.token }} ref: ${{ github.head_sha }} + fetch-depth: 0 - id: get_change_files uses: fish9167/file-changes-action@v1.2.3