You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,10 +26,9 @@ The content of the file should be in the following format.
26
26
name: cpp-linter
27
27
28
28
on:
29
-
push:
30
-
paths-ignore: "docs/**"
31
29
pull_request:
32
-
paths-ignore: "docs/**"
30
+
types: [opened, reopened] # let PR-synchronize events be handled by push events
31
+
push:
33
32
34
33
jobs:
35
34
cpp-linter:
@@ -119,6 +118,11 @@ jobs:
119
118
- Default: false
120
119
- NOTE: If run on a private repository, then this feature is disabled because the GitHub REST API behaves differently for thread comments on a private repository.
121
120
121
+
#### `file-annotations`
122
+
123
+
-**Description**: Set this option to false to disable the use of file annotations as feedback.
124
+
- Default: true
125
+
122
126
#### `database`
123
127
124
128
-**Description**: The directory containing compilation database (like compile_commands.json) file.
@@ -140,10 +144,9 @@ to install a certain version of clang-tidy and clang-format.
140
144
141
145
```yml
142
146
on:
143
-
push:
144
-
paths-ignore: "docs/**"
145
147
pull_request:
146
-
paths-ignore: "docs/**"
148
+
types: [opened, reopened] # let PR-synchronize events be handled by push events
0 commit comments