Skip to content

[BE] ์•„ํ‹ฐํด์— ๋Œ€ํ‘œ์ด๋ฏธ์ง€๋ฅผ ์ถ”๊ฐ€ํ•œ๋‹ค. #82

[BE] ์•„ํ‹ฐํด์— ๋Œ€ํ‘œ์ด๋ฏธ์ง€๋ฅผ ์ถ”๊ฐ€ํ•œ๋‹ค.

[BE] ์•„ํ‹ฐํด์— ๋Œ€ํ‘œ์ด๋ฏธ์ง€๋ฅผ ์ถ”๊ฐ€ํ•œ๋‹ค. #82

name: Discord PR
on:
pull_request:
branches: ["dev-be"]
paths: 'backend/**'
jobs:
create-issue:
name: Discord notification
runs-on: ubuntu-latest
steps:
- name: Send PR
uses: Ilshidur/[email protected]
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL }}
DISCORD_USERNAME: Bang_GGood_Master
DISCORD_EMBEDS: >
[
{
"title": "๋˜‘๋˜‘~ ๋ฐฉ ๋ฆฌ๋ชจ๋ธ๋ง ์š”์ฒญ์ด ์™”์–ด์š”!๐Ÿ \n${{ github.event.pull_request.title }}",
"color": 16777123,
"description": "${{ github.event.pull_request.html_url }}",
"fields": [
{
"name": "Pull Request Number",
"value": "#${{ github.event.pull_request.number }}",
"inline": true
},
{
"name": "Author",
"value": "${{ github.event.pull_request.user.login }}",
"inline": true
},
{
"name": "Reviewers",
"value": "${{ join(github.event.pull_request.requested_reviewers.*.login, ', ') }}",
"inline": false
}
]
}
]