Skip to content

Commit

Permalink
fix: 디버깅 중 알림 가지 않도록 코드 수정시 오류 해결 #432
Browse files Browse the repository at this point in the history
  • Loading branch information
useon committed Dec 10, 2024
1 parent 35831be commit 1bc9c44
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/fe-review-reminder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,18 +134,18 @@ jobs:
);
// 최종 메시지 Discord에 전송
# const response = await fetch(process.env.DISCORD_WEBHOOK, {
# method: 'POST',
# headers: { 'Content-Type': 'application/json' },
# body: JSON.stringify({
# content: `🍀 [FE] 리뷰가 필요한 PR 목록 🍀\n\n${messages.join('\n\n')}\n\n`,
# allowed_mentions: {
# parse: ["users"], // 멘션 가능한 사용자만 허용
# },
# }),
# });
# console.log('Response status:', response.status);
/* const response = await fetch(process.env.DISCORD_WEBHOOK, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
content: `🍀 [FE] 리뷰가 필요한 PR 목록 🍀\n\n${messages.join('\n\n')}\n\n`,
allowed_mentions: {
parse: ["users"], // 멘션 가능한 사용자만 허용
},
}),
});
*/
console.log('Response status:', response.status);
} catch (error) {
console.error('Error processing FE PR reminders:', error.message);
throw error; // 워크플로우 실패 상태 반환
Expand Down

0 comments on commit 1bc9c44

Please sign in to comment.