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
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ async function processVerify(

if (!roleConfig || !teamConfig) {
console.log(`[verify] invalid role=${roleValue} or team=${teamValue}`);
return "⚠️ 잘못된 role 또는 team 값입니다.";
const validTeams = config.map((c) => c.value).join(", ");
return `⚠️ 잘못된 team 값입니다: \`${teamValue}\`\n유효한 team: ${validTeams}\n포스트 **제목(title)** 을 아래 형식으로 작성해주세요. (두 번째 값은 닉네임이 아니라 팀 식별자입니다)\n\`\`\`\n리트코드 스터디 8기 신청 (github_username, team)\n\`\`\``;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

훨씬 친절한 메시지네요!

}

const token = await getInstallationToken(env);
Expand Down
Loading