Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/slack-webhook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Slack Notify on PR Open
on:
pull_request:
types: [opened]
branches:
- main
- develop
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Send Slack Message (PR Opened)
run: |
curl -X POST -H 'Content-type: application/json' \
--data '{
"text": "새로운 PR #${{ github.event.pull_request.number }}이 `${{ github.event.pull_request.base.ref }}` 브랜치에 올라왔습니다.\n제목: ${{ github.event.pull_request.title }}\n작성자: ${{ github.event.pull_request.user.login }}\n<${{ github.event.pull_request.html_url }}|PR 보러가기>"
}' \
${{ secrets.SLACK_WEBHOOK_URL }}
Loading