Skip to content

Commit

Permalink
Token is not necessary for workflow summary
Browse files Browse the repository at this point in the history
  • Loading branch information
yijhenlin committed Apr 19, 2024
1 parent 4305a5a commit 3b73c0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ for [Creating a workflow file](https://help.github.com/en/articles/configuring-a
### Inputs

- `paths` - [**required**] Comma separated paths of the generated jacoco xml files (supports wildcard glob pattern)
- `token` - [**required**] Github personal token to add commits to Pull Request
- `token` - [*optional* {default: github.token}] Github personal token to add commits to Pull Request
- `min-coverage-overall` - [*optional* {default: 80%}] The minimum code coverage that is required to pass for overall project
- `min-coverage-changed-files` - [*optional* {default: 80%}] The minimum code coverage that is required to pass for changed files
- `update-comment` - [*optional* {default: false}] If true, updates the previous coverage report comment instead of creating new one.
Expand Down
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ inputs:
required: true
token:
description: 'Github personal token to add commits to Pull Request'
required: true
required: false
default: ${{ github.token }}
min-coverage-overall:
description: 'The minimum code coverage that is required to pass for overall project'
required: false
Expand Down

0 comments on commit 3b73c0e

Please sign in to comment.