Skip to content

Commit

Permalink
Update PR sha retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
eflumerf committed Jan 8, 2025
1 parent fe3a73a commit 5841282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/git-whitespace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 5841282

Please sign in to comment.