Skip to content

Commit

Permalink
Run CI whitespace check only on changes introduced in latest PR
Browse files Browse the repository at this point in the history
  • Loading branch information
dburgener committed Apr 29, 2024
1 parent 6ff3d00 commit c4de7e6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,5 +132,7 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: check-whitespaces
run: git diff-tree --check $(git hash-object -t tree /dev/null) HEAD
run: git diff-tree --check origin/main HEAD

0 comments on commit c4de7e6

Please sign in to comment.