Skip to content

Commit 279eb9a

Browse files
authored
Update cpp-linter.yml (#416)
* Update cpp-linter.yml * Add cpp-linter.yml to workflow paths Include cpp-linter.yml in the paths for pull requests and pushes.
1 parent df553f8 commit 279eb9a

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/cpp-linter.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: cpp-linter
33
on:
44
pull_request:
55
types: [opened, reopened, synchronize]
6-
paths: ['**.c', '**.h', '**.cpp', '**.hpp', '.clang-format']
6+
paths: ['**.c', '**.h', '**.cpp', '**.hpp', '.clang-format', '.github/workflows/cpp-linter.yml']
77
push:
8-
paths: ['**.c', '**.h', '**.cpp', '**.hpp', '.clang-format']
8+
paths: ['**.c', '**.h', '**.cpp', '**.hpp', '.clang-format', '.github/workflows/cpp-linter.yml']
99
workflow_dispatch: # Manually invoked by user.
1010

1111
jobs:
@@ -37,10 +37,12 @@ jobs:
3737
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3838
with:
3939
style: file
40-
version: 18
41-
lines-changed-only: diff
42-
thread-comments: true
43-
file-annotations: false
40+
version: 21
41+
ignore: |
42+
.github
43+
include/serialization/_fbs
44+
thread-comments: update
45+
no-lgtm: false
4446

4547
- name: Fail fast?!
4648
if: steps.linter.outputs.checks-failed > 0

0 commit comments

Comments
 (0)