Skip to content

Commit 61b0973

Browse files
feat: Update mentor assignment welcome message (Fixes hiero-ledger#1487)
Signed-off-by: Mohamed Sharfan <sharfansaleem72@gmail.com>
1 parent db523f9 commit 61b0973

1 file changed

Lines changed: 51 additions & 17 deletions

File tree

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

Lines changed: 51 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -104,26 +104,60 @@ async function isNewContributor(github, owner, repo, login) {
104104
}
105105
}
106106

107-
function buildComment({ mentee, mentor, owner, repo }) {
108-
const repoUrl = `https://github.com/${owner}/${repo}`;
109-
110-
return `${COMMENT_MARKER}
111-
👋 Hi @${mentee}, welcome to the Hiero Python SDK community!
112-
113-
You've been assigned this Good First Issue, and today’s on-call mentor from ${MENTOR_TEAM_ALIAS} is @${mentor}. They're here to help you land a great first contribution.
114-
115-
**How to get started**
116-
- Review the issue description and any linked docs
117-
- Share updates early and ask @${mentor} anything right here
118-
- Keep the feedback loop short so we can support you quickly
119-
120-
Need more backup? ${SUPPORT_TEAM_ALIAS} is also on standby to cheer you on.
121-
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";
111+
112+
return `👋 Hi @${mentee}, welcome to the Hiero Python SDK community!
113+
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}**.
114+
We’re here to help you get your first PR merged successfully 🚀
115+
116+
---
117+
### Step 1: Read the task
118+
- Open the issue description, carefully read the requirements and workflow
119+
- Read any linked documentation
120+
- Make sure you understand the expected outcome
121+
If anything is unclear, ask your mentor **before** writing code.
122+
123+
---
124+
### Step 2: Tell us your plan (in this thread)
125+
Reply here with:
126+
- What you think the task is
127+
- What you plan to change to solve the issue requirement and no more
128+
- Any questions you have
129+
This means we can guide you early on, helping you to have a more stress free experience
130+
131+
---
132+
### Step 3: Get the right kind of help
133+
Finishing your first PR can be really hard. We are here to help you - please ask us!
134+
135+
🛠 **Good First Issue Support Team (${SUPPORT_TEAM_ALIAS})**
136+
Use them for **workflow and GitHub issues**, such as:
137+
- Failing CI checks
138+
- Commit signing problems
139+
- Merge conflicts
140+
- Git/GitHub errors
141+
They can also jump on a call if needed.
142+
143+
🐍 **Your Mentor (@${mentor})**
144+
Use your mentor for **Python and code guidance**, such as:
145+
- Which files to edit
146+
- How to structure your solution
147+
- Docstring and code style questions
148+
- Making sure your PR meets the issue requirements
149+
150+
💬 **Discord (for fast help)**
151+
Guide: [Join the Python SDK Discord](https://github.com/hiero-ledger/hiero-sdk-python/blob/main/docs/discord.md)
152+
Use Discord when you need **immediate answers** from the community, like:
153+
- What docs to read
154+
- How to unblock yourself quickly
155+
- Clarifying next steps in real time
156+
157+
---
122158
**Mentor:** @${mentor}
123159
**Mentee:** @${mentee}
124-
125160
If you're enjoying the SDK, consider ⭐️ [starring the repository](${repoUrl}) so it's easy to find later.
126-
127161
Happy building!
128162
— Python SDK Team`;
129163
}

0 commit comments

Comments
 (0)