GitHub Action
Notify PR Review
v1.2.1
Latest version
๐ ํ๊ตญ์ด | English
PR ๋ฆฌ๋ทฐ ์์ฒญ์ ๋ฐ์ผ๋ฉด Slack์ผ๋ก ์๋ฆฌ๋ Github Actions
- ๋ฉ์์ง ์ ๋ฌ์ ์ํด
SLACK_BOT_TOKEN
์ด๋ฆ์ secret์ ์ธํ ํ์ธ์.
์ธํ ํ Repo > Settings > Secrets > New repository secret
์ด๋, Value๋ ์ฌ๋์์ ์ ๊ณตํ๋ xoxb-
ํํ์ ํ ํฐ์ด์ด์ผ ํฉ๋๋ค.
.github/workflow/notify-pr-review.yml
ํ์ผ์ ๋ง๋์ธ์:
name: notify pr review
on:
pull_request:
types: [review_requested]
jobs:
notify:
runs-on: [ubuntu-latest]
steps:
- name: Notify PR Review
uses: naver/notify-pr-review@v1.2.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
slackBotToken: ${{ secrets.SLACK_BOT_TOKEN }}
Required GitHub์์ ์ ๊ณตํ๋ ํ ํฐ
Required Slack bot์ ํตํด ๋ฉ์์ง๋ฅผ ๋ณด๋ด๊ธฐ ์ํ ํ ํฐ
e.g. xoxb-798572638592-435243279588-9aCaWNnzVYelK9NzMMqa1yxz
Copyright (c) 2023-present NAVER Corp.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.