There was an error while loading. Please reload this page.
2 parents 734e6de + 19149cc commit f28bee6Copy full SHA for f28bee6
1 file changed
actions/publish-runtime-execution-evidence/action.yml
@@ -58,7 +58,7 @@ runs:
58
echo "sync-url must be an HTTPS base URL without a path or query." >&2
59
exit 2
60
fi
61
- if [[ ! "$INPUT_MAX_REPORTS" =~ ^[1-9][0-9]?$ ]] || (( INPUT_MAX_REPORTS > 100 )); then
+ if [[ ! "$INPUT_MAX_REPORTS" =~ ^([1-9]|[1-9][0-9]|100)$ ]]; then
62
echo "max-reports must be between 1 and 100." >&2
63
64
0 commit comments