Skip to content

Commit f5433a7

Browse files
Fetch all branches to lint only diff
1 parent 0ac6845 commit f5433a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
if: ${{ github.event_name == 'pull_request' }}
2525
steps:
2626
- uses: actions/checkout@v2
27+
with:
28+
fetch-depth: 0
2729
- run: sudo apt-get install clang-format
2830
- run: ./scripts/clang-format-diff.sh
2931

0 commit comments

Comments
 (0)