Skip to content

Commit d865b01

Browse files
authored
Add cpp-linter.yml to workflow paths
Include cpp-linter.yml in the paths for pull requests and pushes.
1 parent 2d8c138 commit d865b01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cpp-linter.yml

Lines changed: 2 additions & 2 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:

0 commit comments

Comments
 (0)