added fail_below_min to action definition #16

This commit is contained in:
irongut
2021-10-20 00:01:43 +01:00
parent 02bb824606
commit 2389c9883a
+7 -1
View File
@@ -12,6 +12,10 @@ inputs:
description: 'Include a Line Rate coverage badge in the output using shields.io - true / false (default).'
required: false
default: 'false'
fail_below_min:
description: 'Fail if overall Line Rate below lower threshold - true / false (default).'
required: false
default: 'false'
format:
description: 'Output Format - markdown or text (default).'
required: false
@@ -25,7 +29,7 @@ inputs:
required: false
default: 'console'
thresholds:
description: 'Badge and health indicator threshold percentages, default '50 75'.'
description: 'Threshold percentages for badge and health indicators, lower threshold can also be used to fail the action.'
required: false
default: '50 75'
runs:
@@ -35,6 +39,8 @@ runs:
- ${{ inputs.filename }}
- '--badge'
- ${{ inputs.badge }}
- '--fail'
- ${{ inputs.fail_below_min }}
- '--format'
- ${{ inputs.format }}
- '--indicators'