Skip to content

Commit

Permalink
VIDCS-3252: Resolve GitHub Mend warnings for VERA (#24)
Browse files Browse the repository at this point in the history
Co-authored-by: Sachin Dwivedi <[email protected]>
  • Loading branch information
behei-vonage and dwivedisachin authored Jan 27, 2025
1 parent 72bd3fd commit 69f7a73
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/check-pull-request-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@ jobs:
set -e
pr_name="${{ github.event.pull_request.title }}"
echo "PR Title: '${pr_name}'"
# Regex to check following:
# Starts with "VIDCS-" followed by digits
# A colon (:) followed by exactly one space
# followed by the actual PR title text
regex="^VIDCS-[0-9]+: [^ ].*$"
if [[ "$pr_name" =~ $regex ]]; then
if echo "$pr_name" | grep -Eq "$regex"; then
echo "Acceptable title"
exit 0
else
Expand Down

0 comments on commit 69f7a73

Please sign in to comment.