[feat/#58] 초기 알람값이 없을 때, 알림 켜기 버튼이 ON 이 안되는 이슈 수정 #63
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 Notification | |
on: | |
pull_request: | |
types: [opened, reopened] | |
jobs: | |
notify_discord: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Discord Notification | |
env: | |
DISCORD_WEBHOOK: ${{ secrets.DISCORD_PR_WEBHOOK }} | |
DISCORD_USERNAME: GitHub | |
DISCORD_AVATAR: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png | |
uses: Ilshidur/action-discord@master | |
with: | |
args: | | |
새로운 PR이 열렸습니다!<@${{ secrets.DISCORD_ID_1 }}> <@${{ secrets.DISCORD_ID_2 }}> | |
PR: ${{ github.event.pull_request.html_url }} | |
작성자: ${{ github.event.pull_request.user.login }} | |
제목: ${{ github.event.pull_request.title }} |