Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ jobs:
SAFE_TITLE=$(echo "$PR_TITLE" | sed "s/\`/'/g")

# ==========================================
# 1. TITLE: TICKET-123 [TICKET-456] : description
# 1. TITLE: TICKET-123 : description (multiple tickets allowed, space-separated, e.g. "TICKET-123 TICKET-456 : description")
# ==========================================
if ! echo "$PR_TITLE" | grep -qE '^[A-Z]+-[0-9]+( [A-Z]+-[0-9]+)* *: *[^[:space:]]+'; then
if ! echo "$PR_TITLE" | grep -qE '^[A-Z][A-Z0-9]+-[0-9]+( [A-Z][A-Z0-9]+-[0-9]+)* *: *[^[:space:]]+'; then
Comment thread
apattu200 marked this conversation as resolved.
ISSUES+="- **Title:** \`${SAFE_TITLE}\` — expected \`TICKET-123 : description\`\n"
ISSUES+=" _(Multiple tickets OK: \`RDKCOM-5492 RDKBDEV-3336 : ...\` | Include US ticket + subtask for user-stories)_\n"
fi
Expand Down
Loading