From 68766744b0bc52c1dd73515cfec4c8279e0837b9 Mon Sep 17 00:00:00 2001 From: Daniel Burgener Date: Mon, 29 Apr 2024 13:46:39 -0400 Subject: [PATCH] Run CI whitespace check only on changes introduced in latest PR --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 692abe00..2a3a594f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -133,4 +133,4 @@ jobs: steps: - uses: actions/checkout@v4 - name: check-whitespaces - run: git diff-tree --check $(git hash-object -t tree /dev/null) HEAD + run: git diff-tree --check main HEAD