fix: directory mapping is not required

This commit is contained in:
Martin Fillafer 2023-03-27 10:47:52 +02:00
parent 9b503434d1
commit fc35e5f95d

View file

@ -44,7 +44,7 @@ class TestReporter {
readonly workDirInput = core.getInput('working-directory', {required: false}) readonly workDirInput = core.getInput('working-directory', {required: false})
readonly onlySummary = core.getInput('only-summary', {required: false}) === 'true' readonly onlySummary = core.getInput('only-summary', {required: false}) === 'true'
readonly token = core.getInput('token', {required: true}) readonly token = core.getInput('token', {required: true})
readonly directoryMapping = core.getInput('directory-mapping', {required: true}) readonly directoryMapping = core.getInput('directory-mapping', {required: false})
readonly octokit: InstanceType<typeof GitHub> readonly octokit: InstanceType<typeof GitHub>
readonly context = getCheckRunContext() readonly context = getCheckRunContext()