Skip to content

Commit b52da3e

Browse files
fix: Restore COMMENT_MARKER and fix function signature
Signed-off-by: Mohamed Sharfan <sharfansaleem72@gmail.com>
1 parent 61b0973 commit b52da3e

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/scripts/bot-mentor-assignment.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,10 @@ async function isNewContributor(github, owner, repo, login) {
104104
}
105105
}
106106

107-
function buildComment(mentor, mentee) {
108-
const repoUrl = "https://github.com/hiero-ledger/hiero-sdk-python";
109-
const MENTOR_TEAM_ALIAS = "@hiero-ledger/hiero-sdk-python-triage";
110-
const SUPPORT_TEAM_ALIAS = "@hiero-ledger/hiero-sdk-good-first-issue-support";
107+
function buildComment({ mentee, mentor, owner, repo }) {
108+
const repoUrl = owner && repo ? `https://github.com/${owner}/${repo}` : "https://github.com/hiero-ledger/hiero-sdk-python";
111109

112-
return `👋 Hi @${mentee}, welcome to the Hiero Python SDK community!
110+
return `${COMMENT_MARKER}👋 Hi @${mentee}, welcome to the Hiero Python SDK community!
113111
You've been assigned this **Good First Issue**. Your on-call mentor today from ${MENTOR_TEAM_ALIAS} is **@${mentor}**, and the **Good First Issue Support Team** is **${SUPPORT_TEAM_ALIAS}**.
114112
We’re here to help you get your first PR merged successfully 🚀
115113

0 commit comments

Comments
 (0)