We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 265b338 commit b91c55eCopy full SHA for b91c55e
.github/workflows/apply-clang-format.yml
@@ -0,0 +1,17 @@
1
+name: Apply clang-format to PR
2
+
3
+on:
4
+ pull_request:
5
+ types: [labeled]
6
7
+jobs:
8
+ clang-format:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ with:
14
+ fetch-depth: 0
15
+ - uses: InsightSoftwareConsortium/ITKApplyClangFormatAction@master
16
17
+ github-token: ${{ secrets.GITHUB_TOKEN }}
.github/workflows/clang-format-linter.yml
@@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v1
- uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@master
with:
error-message: 'Code is inconsistent with ITK Coding Style. Add the *action:ApplyClangFormat* PR label to correct.'
0 commit comments