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:
committed by
GitHub
parent
13117b0ecd
commit
e8988efb74
+4
-4
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user