[BE] 체크리스트 방 비교 기능을 추가 구현한다. #208
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
} | |
] | |
} | |
] |