Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/naver/notify-pr-review
PR 리뷰 요청을 받으면 Slack으로 알리는 Github Actions
https://github.com/naver/notify-pr-review
dev-culture github-actions pr-review pull-request slack
Last synced: about 4 hours ago
JSON representation
PR 리뷰 요청을 받으면 Slack으로 알리는 Github Actions
- Host: GitHub
- URL: https://github.com/naver/notify-pr-review
- Owner: naver
- License: apache-2.0
- Created: 2023-10-30T10:28:43.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-20T00:52:08.000Z (3 months ago)
- Last Synced: 2024-10-11T00:38:22.746Z (28 days ago)
- Topics: dev-culture, github-actions, pr-review, pull-request, slack
- Language: JavaScript
- Homepage:
- Size: 1.61 MB
- Stars: 27
- Watchers: 6
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# notify-pr-review
PR 리뷰 요청을 받으면 Slack으로 알리는 Github Actions
## Usage
1. 메시지 전달을 위해 `SLACK_BOT_TOKEN` 이름의 secret을 세팅하세요.
> 세팅할 Repo > Settings > Secrets > New repository secret
이때, Value는 슬랙에서 제공하는 `xoxb-` 형태의 토큰이어야 합니다.
2. `.github/workflow/notify-pr-review.yml` 파일을 만드세요:
```yml
name: notify pr reviewon:
pull_request:
types: [review_requested]
jobs:
notify:
runs-on: [ubuntu-latest]
steps:
- name: Notify PR Review
uses: naver/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
slackBotToken: ${{ secrets.SLACK_BOT_TOKEN }}
```## Inputs
### `token`
**Required** GitHub에서 제공하는 토큰
### `slackBotToken`
**Required** Slack bot을 통해 메시지를 보내기 위한 토큰
e.g. `xoxb-798572638592-435243279588-9aCaWNnzVYelK9NzMMqa1yxz`
## License
```
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 athttp://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.
```