SWDEV-123456 - use only specific lines (#573)

* SWDEV-123456 - use only specific lines

* SWDEV-123456 - only run clang on diff between PR target and current

[ROCm/clr commit: ccb31fdf9d]
This commit is contained in:
Lytovchenko, Danylo
2025-06-25 10:54:29 +02:00
committed by GitHub
parent 13117b0ecd
commit e8988efb74
3 changed files with 23 additions and 6 deletions
+4 -4
View File
@@ -1,7 +1,7 @@
name: Clang format check
name: Clang format check
on:
push:
pull_request:
types: [synchronize, opened]
jobs:
format:
@@ -19,4 +19,4 @@ jobs:
id: clang-format
run: |
chmod +x .github/hooks/clang-format-check.sh
./.github/hooks/clang-format-check.sh --range "${{ github.event.before }}..${{ github.sha }}"
./.github/hooks/clang-format-check.sh --range "${{ github.event.pull_request.base.sha }}..${{ github.sha }}"