File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 22
33A GitHub Action that check minimum coverage percentage!
44
5+ This action requires a Github token with ` checks:write ` scope to allow create the check run using the Github API v3.
6+ But no need to generate any new token, you can use the Github action token (` ${{ github.token }} ` )
7+
58### Usage
69
710#### Lcov
@@ -12,7 +15,7 @@ A GitHub Action that check minimum coverage percentage!
1215 type : lcov
1316 result_path : coverage/example.lcov
1417 min_coverage : 90
15- token : ${{secrets.GITHUB_TOKEN }}
18+ token : ${{ github.token }}
1619` ` `
1720
1821#### [Simplecov](https://github.com/colszowka/simplecov)
@@ -23,7 +26,7 @@ A GitHub Action that check minimum coverage percentage!
2326 type : simplecov
2427 result_path : coverage/.last_run.json
2528 min_coverage : 90
26- token : ${{secrets.GITHUB_TOKEN }}
29+ token : ${{ github.token }}
2730` ` `
2831
2932## Screenshots
You can’t perform that action at this time.
0 commit comments