Skip to content

Commit

Permalink
init: 리뷰어 지정 시 slack 알림 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
sinji2102 committed Jun 26, 2024
1 parent 464d4a4 commit a3a343b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/mention-to-slack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pepperdad: "U078DG57YRJ"
imddoy: "U0786KDM7EZ"
ocahs9: "U0789TALGF4"
sinji2102: "U077UUYBTGX"
17 changes: 17 additions & 0 deletions .github/workflows/slackAlarm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Slack Alarm Webhook

on:
pull_request_review:
types: [submitted]

jobs:
mention_notification:
name: Mention Notification
runs-on: ubuntu-latest
steps:
- uses: Laurenfrost/mention-to-slack@latest
with:
configuration-path: .github/mention-to-slack.yml
repo-token: ${{ secrets.GITHUB_TOKEN }}
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}
출처: https://ek12mv2.tistory.com/486 [Not only Slow but also Steady:티스토리]

0 comments on commit a3a343b

Please sign in to comment.