[FEATURE]: 일정 추가 메인 로직 #30
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: Opend Issue Notification | |
on: | |
issues: | |
types: | |
- opened | |
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": 10478271, | |
"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 | |
} | |
] | |
} | |
] |