Skip to content

Commit 5321296

Browse files
authored
Update README.md
1 parent dee18bf commit 5321296

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,18 @@ jobs:
1717
steps:
1818
- name: C/C++ Lint Action
1919
uses: shenxianpeng/cpp-linter-action@master
20-
with:
21-
fetch-depth: 0
2220
env:
2321
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2422
```
2523
2624
## Results of GitHub Actions
2725
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.
2927

3028
For example, this PR [#7](https://github.com/shenxianpeng/cpp-linter-action-demo/pull/7), and warning message like below:
3129

3230
![github-actions bot](https://github.com/shenxianpeng/cpp-linter-action-demo/blob/master/img/result.png?raw=true)
3331

34-
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.
3533

3634
If you have any suggestions or contributions, welcome to PR [here](https://github.com/shenxianpeng/cpp-linter-action).

0 commit comments

Comments
 (0)