forked from ziishaned/jest-reporter-action
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from jackton1/patch-1
Add a default value for github-token input.
- Loading branch information
Showing
2 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,9 +15,10 @@ Total Coverage: <b>99.39%</b> | |
|
||
## Inputs | ||
|
||
##### `github-token` (**Required**) | ||
Github token used for posting the comment. To use the key provided by the GitHub | ||
action runner, use `${{ secrets.GITHUB_TOKEN }}`. | ||
##### `github-token` (**Optional**) | ||
Github token used for posting the comment. Defaults to `${{ github.token }}`. | ||
|
||
For alternative `github-token` values see: [Creating Personal Access Tokens](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token) | ||
|
||
##### `lcov-file` (**Optional**) | ||
The location of the lcov file to read the coverage report from. Defaults to | ||
|
@@ -32,7 +33,6 @@ branch. When this is set a diff of the coverage percentages is shown. | |
```yml | ||
uses: romeovs/[email protected] | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
lcov-file: ./coverage/lcov.info | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters