Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/cpp-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: cpp-linter
on:
pull_request:
types: [opened, reopened, synchronize]
paths: ['**.c', '**.h', '**.cpp', '**.hpp', '.clang-format']
paths: ['**.c', '**.h', '**.cpp', '**.hpp', '.clang-format', '.github/workflows/cpp-linter.yml']
push:
paths: ['**.c', '**.h', '**.cpp', '**.hpp', '.clang-format']
paths: ['**.c', '**.h', '**.cpp', '**.hpp', '.clang-format', '.github/workflows/cpp-linter.yml']
workflow_dispatch: # Manually invoked by user.

jobs:
Expand Down Expand Up @@ -37,10 +37,12 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
style: file
version: 18
lines-changed-only: diff
thread-comments: true
file-annotations: false
version: 21
ignore: |
.github
include/serialization/_fbs
thread-comments: update
no-lgtm: false

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