From fc59c088001c0ea8208167cef0c0c5b95929a13b Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 9 Jul 2025 16:37:48 -1000 Subject: [PATCH] Fix clang-tidy not finding changed files on squash-merge commits (#9421) --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6e151e633f..08d64243b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -344,6 +344,9 @@ jobs: steps: - name: Check out code from GitHub uses: actions/checkout@v4.2.2 + with: + # Need history for HEAD~1 to work for checking changed files + fetch-depth: 2 - name: Restore Python uses: ./.github/actions/restore-python