Skip to content

Commit f28bee6

Browse files
authored
Merge pull request #286 from QuantStrategyLab/fix/execution-evidence-max-reports
fix: accept default execution evidence report limit
2 parents 734e6de + 19149cc commit f28bee6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • actions/publish-runtime-execution-evidence

actions/publish-runtime-execution-evidence/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ runs:
5858
echo "sync-url must be an HTTPS base URL without a path or query." >&2
5959
exit 2
6060
fi
61-
if [[ ! "$INPUT_MAX_REPORTS" =~ ^[1-9][0-9]?$ ]] || (( INPUT_MAX_REPORTS > 100 )); then
61+
if [[ ! "$INPUT_MAX_REPORTS" =~ ^([1-9]|[1-9][0-9]|100)$ ]]; then
6262
echo "max-reports must be between 1 and 100." >&2
6363
exit 2
6464
fi

0 commit comments

Comments
 (0)