Skip to content

Commit

Permalink
fix: pr-slack-noti
Browse files Browse the repository at this point in the history
  • Loading branch information
Doeunnkimm committed Jun 29, 2024
1 parent 0aa2bc6 commit 348500e
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 109 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/pr-slack-noti.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: PR Slack Notification

on:
pull_request:
types: [review_requested]
issue_comment:
types: [created]

jobs:
notify:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20'

- name: Install pnpm
run: npm install -g pnpm

- name: Install dependencies
run: pnpm install

- name: Build
run: pnpm build

- name: Notify Slack
uses: ./
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
slack_token: ${{ secrets.SLACK_BOT_ACCESS_TOKEN }}
slack_channel: C079A5A8BL0
slack_workspace: 'DEPROMEET 15th'
reviewers_file: .github/workflows/reviewers.yml
slack_merge_emoji_name: check
13 changes: 13 additions & 0 deletions .github/workflows/reviewers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
reviewers:
- githubName: Doeunnkimm
slackId: U07600UQG3T
name: WEB_김도은
- githubName: semnil5202
slackId: U075KR29RGR
name: Web_이세민
- githubName: LeeJeongHooo
slackId: U075C1A16LT
name: Web_이정호
- githubName: Andrevile
slackId: U07545VMS21
name: Web_장종오
109 changes: 0 additions & 109 deletions .github/workflows/slack-notify.yml

This file was deleted.

0 comments on commit 348500e

Please sign in to comment.