From 584128281bea62986ad633f8eba6eae0297e2663 Mon Sep 17 00:00:00 2001 From: Eric Flumerfelt Date: Wed, 8 Jan 2025 16:29:50 -0600 Subject: [PATCH] Update PR sha retrieval --- .github/workflows/git-whitespace.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/git-whitespace.yml b/.github/workflows/git-whitespace.yml index bc36fbf..678f649 100755 --- a/.github/workflows/git-whitespace.yml +++ b/.github/workflows/git-whitespace.yml @@ -16,4 +16,4 @@ jobs: name: Check Git whitespace uses: Mu2e/.github/.github/workflows/git-whitespace.yml@stable with: - against-ref: ${{ github.event_name == 'pull_request' && github.base_ref || github.event_name == 'push' && github.event.before || 0 }} + against-ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event_name == 'push' && github.event.before || 0 }}