Skip to content
Merged
Show file tree
Hide file tree
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
16 changes: 8 additions & 8 deletions .github/workflows/build_release_and_notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
-d '{
"username": "파이프라인 봇",
"embeds": [{
"description": "🔷🔷🔷 **${{ github.ref_name }}** 릴리즈 배포 파이프라인을 시작합니다. 🔷🔷🔷",
"color": 3253045
"description": "🔷 **${{ github.ref_name }}** 릴리즈 배포 파이프라인을 시작합니다. 🔷",
"color": 2243312
}]
}' \
${{ secrets.DISCORD_WEBHOOK_URL }}
Expand Down Expand Up @@ -140,8 +140,8 @@ jobs:
"embeds": [{
"title": "🎉 New Release: ${{ github.ref_name }}",
"url": "${{ github.event.release.html_url }}",
"description": "✅✅✅ **${{ github.ref_name }}** 릴리즈 배포가 성공적으로 완료되었습니다! ✅✅✅",
"color": 3066993
"description": "✅ **${{ github.ref_name }}** 릴리즈 배포가 성공적으로 완료되었습니다! ✅",
"color": 5167473
}]
}' \
${{ secrets.DISCORD_WEBHOOK_URL }}
Expand All @@ -155,8 +155,8 @@ jobs:
"embeds": [{
"title": "릴리즈 배포 실패",
"url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}",
"description": "❌❌❌ **${{ github.ref_name }}** 릴리즈 배포 중 오류가 발생했습니다. ❌❌❌",
"color": 15158332
"description": "❌ **${{ github.ref_name }}** 릴리즈 배포 중 오류가 발생했습니다. ❌",
"color": 15219495
}]
}' \
${{ secrets.DISCORD_WEBHOOK_URL }}
Expand All @@ -170,8 +170,8 @@ jobs:
"embeds": [{
"title": "릴리즈 배포 미완료",
"url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}",
"description": "🟡🟡🟡 **${{ github.ref_name }}** 릴리즈 배포가 완료되지 않았습니다. (상태: 취소 또는 건너뜀)\n이전 단계에서 문제가 발생했을 수 있습니다. 🟡🟡🟡",
"color": 16577903
"description": "🟡 **${{ github.ref_name }}** 릴리즈 배포가 완료되지 않았습니다. (상태: 취소 또는 건너뜀)\n이전 단계에서 문제가 발생했을 수 있습니다. 🟡",
"color": 16577629
}]
}' \
${{ secrets.DISCORD_WEBHOOK_URL }}
28 changes: 14 additions & 14 deletions .github/workflows/pr_bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
"username": "GitHub PR 봇",
"embeds": [{
"title": "Pull Request #${{ github.event.pull_request.number }}: ${{ github.event.pull_request.title }}",
"description": "🔷🔷🔷 **${{ github.actor }}**님이 Pull Request를 생성하거나 업데이트했습니다. 🔷🔷🔷",
"description": "🔷 **${{ github.actor }}**님이 Pull Request를 생성하거나 업데이트했습니다. 🔷",
"url": "${{ github.event.pull_request.html_url }}",
"color": 3253045
"color": 2243312
}]
}' \
${{ secrets.DISCORD_WEBHOOK_URL }}
Expand All @@ -38,15 +38,15 @@ jobs:
run: |
COMMENT_BODY=$(echo "${{ github.event.comment.body }}" | sed 's/"/\\"/g' | sed ':a;N;$!ba;s/\n/\\n/g')
curl -X POST -H "Content-Type: application/json" \
-d "{
\"username\": \"GitHub 댓글 봇\",
\"embeds\": [{
\"title\": \"New Comment on PR #${{ github.event.issue.number }}\",
\"description\": \"🟠🟠🟠 **${{ github.actor }}**님의 새 댓글: \\n${COMMENT_BODY} 🟠🟠🟠\",
\"url\": \"${{ github.event.comment.html_url }}\",
\"color\": 15105634
-d '{
"username": "GitHub 댓글 봇",
"embeds": [{
"title": "New Comment on PR #${{ github.event.issue.number }}",
"description": "🟠 **${{ github.actor }}**님의 새 댓글: \n${COMMENT_BODY} 🟠",
"url": "${{ github.event.comment.html_url }}",
"color": 15105570
}]
}" \
}' \
${{ secrets.DISCORD_WEBHOOK_URL }}

# -------------------------
Expand All @@ -60,9 +60,9 @@ jobs:
"username": "GitHub Merge 봇",
"embeds": [{
"title": "Pull Request #${{ github.event.pull_request.number }} Merged!",
"description": "✅✅✅ **${{ github.actor }}**님이 **${{ github.event.pull_request.title }}** PR을 머지했습니다. ✅✅✅",
"description": "✅ **${{ github.actor }}**님이 **${{ github.event.pull_request.title }}** PR을 머지했습니다. ✅",
"url": "${{ github.event.pull_request.html_url }}",
"color": 5167665
"color": 5167473
}]
}' \
${{ secrets.DISCORD_WEBHOOK_URL }}
Expand All @@ -78,9 +78,9 @@ jobs:
"username": "GitHub PR 봇",
"embeds": [{
"title": "Pull Request #${{ github.event.pull_request.number }} Closed",
"description": "❌❌❌ **${{ github.actor }}**님이 **${{ github.event.pull_request.title }}** PR을 닫았습니다. ❌❌❌",
"description": "❌ **${{ github.actor }}**님이 **${{ github.event.pull_request.title }}** PR을 닫았습니다. ❌",
"url": "${{ github.event.pull_request.html_url }}",
"color": 15082698
"color": 15219495
}]
}' \
${{ secrets.DISCORD_WEBHOOK_URL }}