Skip to content

Commit

Permalink
refactor: 메세지에 Issue 문자열 추가 #443
Browse files Browse the repository at this point in the history
  • Loading branch information
novice0840 committed Dec 31, 2024
1 parent b0e939d commit 92096f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/progress-alarm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ jobs:
if (commitCount === 0) continue;
if (commitSummary[nickname]) {
commitSummary[nickname].push(`${prTitle}: 커밋 수: ${commitCount}`);
commitSummary[nickname].push(`Issue: ${prTitle}: ${commitCount} commit`);
} else {
commitSummary[nickname] = [`${prTitle}: 커밋 수: ${commitCount}`];
commitSummary[nickname] = [`Issue: ${prTitle}: ${commitCount} commit`];
}
}
Expand All @@ -78,7 +78,7 @@ jobs:
});
if (messageList.length === 0) {
console.log('오늘의 커밋이 없습니다.');
console.log('오늘의 commit이 없습니다.');
return;
}
Expand All @@ -92,7 +92,7 @@ jobs:
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
content: `🍀 {formattedDate} 진행 상황 공유 🍀\n\n${messageList.join('\n\n')}`,
content: `🍀 ${formattedDate} 진행 상황 공유 🍀\n\n${messageList.join('\n\n')}`,
}),
});
Expand Down

0 comments on commit 92096f6

Please sign in to comment.