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
+2-4
Original file line number
Diff line number
Diff line change
@@ -17,20 +17,18 @@ jobs:
17
17
steps:
18
18
- name: C/C++ Lint Action
19
19
uses: shenxianpeng/cpp-linter-action@master
20
-
with:
21
-
fetch-depth: 0
22
20
env:
23
21
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24
22
```
25
23
26
24
## Results of GitHub Actions
27
25
28
-
Here is a test repository [cpp-linter-action-demo](https://github.com/shenxianpeng/cpp-linter-action-demo) which has added `cpp-linter.yml`. when an unformatted c/c++ source file was committed and create a Pull Request will automatically recognize and add warning comments.
26
+
Here is a test repository [cpp-linter-action-demo](https://github.com/shenxianpeng/cpp-linter-action-demo) which has added `cpp-linter.yml`. when an unformatted C/C++ source file was committed and create a Pull Request will automatically recognize and add warning comments.
29
27
30
28
For example, this PR [#7](https://github.com/shenxianpeng/cpp-linter-action-demo/pull/7), and warning message like below:
Please feel free to commit code to the [demo](https://github.com/shenxianpeng/cpp-linter-action-demo) repo and create a Pull Request to see how the process works.
32
+
Please feel free to commit code to the [demo](https://github.com/shenxianpeng/cpp-linter-action-demo) repository and create a Pull Request to see how the process works.
35
33
36
34
If you have any suggestions or contributions, welcome to PR [here](https://github.com/shenxianpeng/cpp-linter-action).
0 commit comments