[QA]: 행사가 종료된 후, 설문 조사 가능 #75
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: Closed Issue Notification | |
on: | |
issues: | |
types: | |
- closed | |
jobs: | |
create-issue: | |
name: Discord notification | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send Issue | |
uses: Ilshidur/action-discord@0.3.2 | |
env: | |
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} | |
DISCORD_USERNAME: WAPP_BOT | |
DISCORD_AVATAR: https://github.com/pknu-wap/WAPP/blob/main/image/icon.png?raw=true | |
DISCORD_EMBEDS: | | |
[ | |
{ | |
"title": "이슈가 닫혔습니다! 👏👏\n${{ github.event.issue.title }}", | |
"color": 13458524, | |
"description": "${{ github.event.issue.html_url }}", | |
"fields": [ | |
{ | |
"name": "Issue Number", | |
"value": "#${{ github.event.issue.number }}", | |
"inline": true | |
}, | |
{ | |
"name": "Author", | |
"value": "${{ github.event.issue.user.login }}", | |
"inline": true | |
} | |
] | |
} | |
] |