We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e4c3b7 commit 2a42897Copy full SHA for 2a42897
1 file changed
.github/workflows/jira-fix-version.yaml
@@ -96,7 +96,7 @@ jobs:
96
else
97
# Priority 2: Check for ticket:<url> pattern with WPB-* in URL
98
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)
+ TICKET_ISSUES=$(echo "$PR_BODY" | grep -ioE 'ticket:[^ ]*WPB-[0-9]+[^ ]*' | grep -ioE 'WPB-[0-9]+' | sort -u)
100
TICKET_COUNT=$(echo "$TICKET_ISSUES" | grep -c '^' || echo 0)
101
102
if [ "$TICKET_COUNT" -gt 1 ]; then
0 commit comments