Skip to content

Commit 2a42897

Browse files
committed
Be more lenient regarding upper/lower case in body patterns
1 parent 4e4c3b7 commit 2a42897

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/jira-fix-version.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
else
9797
# Priority 2: Check for ticket:<url> pattern with WPB-* in URL
9898
echo "No issue in title, checking for ticket:<url> pattern..."
99-
TICKET_ISSUES=$(echo "$PR_BODY" | grep -oE 'ticket:[^ ]*WPB-[0-9]+[^ ]*' | grep -oE 'WPB-[0-9]+' | sort -u)
99+
TICKET_ISSUES=$(echo "$PR_BODY" | grep -ioE 'ticket:[^ ]*WPB-[0-9]+[^ ]*' | grep -ioE 'WPB-[0-9]+' | sort -u)
100100
TICKET_COUNT=$(echo "$TICKET_ISSUES" | grep -c '^' || echo 0)
101101
102102
if [ "$TICKET_COUNT" -gt 1 ]; then

0 commit comments

Comments
 (0)