Skip to content

Commit 7590b37

Browse files
adityashirsatrao007Copilot
authored andcommitted
Update .github/scripts/mentor_assignment.sh
Co-authored-by: Copilot <[email protected]> Signed-off-by: Aditya <[email protected]>
1 parent cca48ee commit 7590b37

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/scripts/mentor_assignment.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,11 @@ EOF
118118
EXISTING_WELCOME=$(gh issue view "$ISSUE_NUMBER" --repo "$REPO" --comments --json comments \
119119
| jq -r --arg assignee "$ASSIGNEE" '
120120
.comments[]
121-
| select(.body | test("Welcome to the Hiero Python SDK,?\\s*@" + $assignee))
121+
| select(
122+
(.body | contains("Welcome to the Hiero Python SDK, @" + $assignee))
123+
or
124+
(.body | contains("Welcome to the Hiero Python SDK @" + $assignee))
125+
)
122126
| .id' | head -1)
123127

124128
if [ -n "$EXISTING_WELCOME" ]; then

0 commit comments

Comments
 (0)