File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,13 +29,13 @@ inputs:
2929 required : false
3030
3131 approveThreshold :
32- description : ' The threshold to use for "approving" (greater than or equal to). A number between 0 and 1.'
32+ description : ' The threshold to use for "approving" (greater than or equal to). A number between 0 and 1. Must be specified with 3 decimals. '
3333 default : " 0.935"
3434 required : false
3535
3636 carefulReviewThreshold :
37- description : ' The threshold to use for "careful review" actions (less than). A number between 0 and 1.'
38- default : " 0.3 "
37+ description : ' The threshold to use for "careful review" actions (less than). A number between 0 and 1. Must be specified with 3 decimals. '
38+ default : " 0.300 "
3939 required : false
4040
4141 failJobsWhenReviewNeeded :
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ run(jobID)
8282 core . setOutput ( 'approved' , isApproved )
8383 core . setOutput ( 'suggested' , isSuggested )
8484 core . setOutput ( 'jobType' , jobType )
85- core . setOutput ( 'confidence' , confidence )
85+ core . setOutput ( 'confidence' , confidence . toFixed ( 3 ) )
8686 } )
8787 . catch ( async error => {
8888 if ( error instanceof Error ) {
You can’t perform that action at this time.
0 commit comments