Skip to content

Commit 5e7e374

Browse files
authored
chore: enforce triage field casing
1 parent a94a2c7 commit 5e7e374

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/issue-triage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)