diff --git a/.github/workflows/build_release_and_notify.yml b/.github/workflows/build_release_and_notify.yml index 0c942d8..92f1beb 100644 --- a/.github/workflows/build_release_and_notify.yml +++ b/.github/workflows/build_release_and_notify.yml @@ -19,8 +19,8 @@ jobs: -d '{ "username": "파이프라인 봇", "embeds": [{ - "description": "🔷🔷🔷 **${{ github.ref_name }}** 릴리즈 배포 파이프라인을 시작합니다. 🔷🔷🔷", - "color": 3253045 + "description": "🔷 **${{ github.ref_name }}** 릴리즈 배포 파이프라인을 시작합니다. 🔷", + "color": 2243312 }] }' \ ${{ secrets.DISCORD_WEBHOOK_URL }} @@ -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 }} @@ -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 }} @@ -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 }} diff --git a/.github/workflows/pr_bot.yml b/.github/workflows/pr_bot.yml index d9e6bf2..f09d7ad 100644 --- a/.github/workflows/pr_bot.yml +++ b/.github/workflows/pr_bot.yml @@ -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 }} @@ -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 }} # ------------------------- @@ -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 }} @@ -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 }}