Skip to content

[TNT-185] 트레이니 마이페이지 UI 구현 #18

[TNT-185] 트레이니 마이페이지 UI 구현

[TNT-185] 트레이니 마이페이지 UI 구현 #18

name: Opened PR Notification
on:
pull_request:
types:
- opened
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Send notification
uses: Ilshidur/[email protected]
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
DISCORD_USERNAME: 와플곰 BOT
DISCORD_AVATAR: https://github.com/user-attachments/assets/4f1d10bc-f782-42ef-af63-fba0f51907c5
DISCORD_EMBEDS: |
[
{
"author": {
"name": "${{ github.event.pull_request.user.login }}",
"url": "https://github.com/user-attachments/assets/2e1aadea-149e-4bef-ab67-1c6c6b8c21cd",
"icon_url": "${{ github.event.pull_request.user.avatar_url }}"
},
"title": "신규 PR이 등록되었습니돠! 24시간내로 리뷰해주세요! 🥳\n#${{ github.event.pull_request.number }} : ${{ github.event.pull_request.title }}",
"color": 10478271,
"description": "${{ github.event.pull_request.html_url }}",
"fields": [
{
"name": "Base Branch",
"value": "${{ github.base_ref }}",
"inline": true
},
{
"name": "Compare Branch",
"value": "${{ github.head_ref }}",
"inline": true
}
]
}
]