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
Dieser Commit ist enthalten in:
committet von
GitHub
Ursprung
4c2405b108
Commit
ccb31fdf9d
@@ -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 }}"
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren