fix: action fields with default values should not be required

Signed-off-by: Tomer Figenblat <tomer.figenblat@gmail.com>
This commit is contained in:
Tomer Figenblat 2022-05-07 12:50:04 +03:00
parent 0d00bb14cb
commit c3f44eaca3
No known key found for this signature in database
GPG key ID: FB3ADAF2DE7E4A86

View file

@ -37,7 +37,7 @@ inputs:
Limits which test suites are listed. Supported options: Limits which test suites are listed. Supported options:
- all - all
- only-failed - only-failed
required: true required: false
default: 'all' default: 'all'
list-tests: list-tests:
description: | description: |
@ -45,17 +45,17 @@ inputs:
- all - all
- only-failed - only-failed
- none - none
required: true required: false
default: 'all' default: 'all'
max-annotations: max-annotations:
description: | description: |
Limits number of created annotations with error message and stack trace captured during test execution. Limits number of created annotations with error message and stack trace captured during test execution.
Must be less or equal to 50. Must be less or equal to 50.
required: true required: false
default: '10' default: '10'
fail-on-error: fail-on-error:
description: Set this action as failed if test report contain any failed test description: Set this action as failed if test report contain any failed test
required: true required: false
default: 'true' default: 'true'
working-directory: working-directory:
description: Relative path under $GITHUB_WORKSPACE where the repository was checked out description: Relative path under $GITHUB_WORKSPACE where the repository was checked out