Skip to content

[CHORE]: Application Design Resource Set Up #6

[CHORE]: Application Design Resource Set Up

[CHORE]: Application Design Resource Set Up #6

name: Closed Issue Notification
on:
issues:
types:
- closed
jobs:
create-issue:
name: Discord notification
runs-on: ubuntu-latest
steps:
- name: Send Issue
uses: Ilshidur/[email protected]
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
}
]
}
]