File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,14 +122,14 @@ post-steps:
122122
123123 # Check for confidence field in the documented format:
124124 # **Confidence:** high|medium|low (0-100%)
125- if ! echo "$AGENT_OUTPUT" | grep -iqE '^\*\*Confidence:\*\*\s*(high|medium|low)\s*\(((100|[1-9]?[0-9])%)\)$'; then
125+ if ! echo "$AGENT_OUTPUT" | grep -qE '^\*\*Confidence:\*\*\s*(high|medium|low)\s*\(((100|[1-9]?[0-9])%)\)$'; then
126126 echo "::error::Triage comment missing required confidence score field"
127127 exit 1
128128 fi
129129
130130 # Check for uncertainty field in the documented format:
131131 # **Uncertainty:** <non-empty explanation or "none">
132- if ! echo "$AGENT_OUTPUT" | grep -iqE '^\*\*Uncertainty:\*\*\s+\S.+'; then
132+ if ! echo "$AGENT_OUTPUT" | grep -qE '^\*\*Uncertainty:\*\*\s+\S.+'; then
133133 echo "::error::Triage comment missing required uncertainty indicator"
134134 exit 1
135135 fi
You can’t perform that action at this time.
0 commit comments