From 9c5f61e02996bc3533176f32bbc356c5ed8eab65 Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Wed, 20 Sep 2023 19:04:34 -0500 Subject: [PATCH] Add debugging --- .github/workflows/clang-format-checker.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/clang-format-checker.yml b/.github/workflows/clang-format-checker.yml index d10fcb10b8..1382fe1ccd 100644 --- a/.github/workflows/clang-format-checker.yml +++ b/.github/workflows/clang-format-checker.yml @@ -25,6 +25,9 @@ jobs: GH_TOKEN: ${{ github.token }} run: | echo Comparing $PR_NUMBER vs target branch + git rev-parse --short HEAD + echo $GITHUB_BASE_REF + echo $GITHUB_REF git fetch origin refs/pull/$PR_NUMBER/head:pull/$PR_NUMBER git diff -U0 --no-color HEAD..pull/$PR_NUMBER | clang-format-diff -p1 | tee format.diff if [ -s "format.diff" ]