diff --git a/.github/workflows/discord-pr-notify.yml b/.github/workflows/discord-pr-notify.yml new file mode 100644 index 00000000..eded78e5 --- /dev/null +++ b/.github/workflows/discord-pr-notify.yml @@ -0,0 +1,20 @@ +name: Discord PR 알림 + +on: + pull_request: + types: [opened, reopened] + +jobs: + notify: + runs-on: ubuntu-latest + steps: + - name: Discord 알림 전송 + uses: sarisia/actions-status-discord@eb045afee445dc055c18d3d90bd0f244fd062708 + with: + webhook: ${{ secrets.DISCORD_WEBHOOK_URL }} + title: "PR 올라왔어요!" + description: | + ${{ github.event.pull_request.title }} + ${{ github.event.pull_request.html_url }} + color: 0x5865F2 + username: GitHub