https://github.com/rrgks6221/pr-notification-bot
Github pull request notification bot
https://github.com/rrgks6221/pr-notification-bot
cron discord discord-bot github-actions scheduler slack slack-bot typescript
Last synced: 2 months ago
JSON representation
Github pull request notification bot
- Host: GitHub
- URL: https://github.com/rrgks6221/pr-notification-bot
- Owner: rrgks6221
- Created: 2023-02-12T05:43:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-21T11:22:09.000Z (over 2 years ago)
- Last Synced: 2025-02-13T16:38:13.623Z (over 1 year ago)
- Topics: cron, discord, discord-bot, github-actions, scheduler, slack, slack-bot, typescript
- Language: TypeScript
- Homepage:
- Size: 11.2 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π PR Notification Bot
[](https://github.com/marketplace/actions/pr-notification-bot)
[](./LICENSE)
νμλ€μ΄ 리뷰νμ§ μμ PRμ Slack λλ Discordλ‘ λ¦¬λ§μΈλν©λλ€.
νμ
ν¨μ¨μ λμ΄κ³ PR λ³λͺ©μ μ€μ΄μΈμ.
---
## π μ¬μ© μμ
`.github/workflows/pr-reminder.yml`
```yaml
name: PR Reminder
on:
schedule:
- cron: '0 10 * * 1-5' # νμΌ μ€μ 10μμ μ€ν
workflow_dispatch:
jobs:
notify:
runs-on: ubuntu-latest
steps:
- uses: your-org/pr-notification-bot@v1
with:
OWNER: rrgks6221
REPOS: pr-notification-bot,teamup-backend
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
MESSENGER_GITHUB_MAP: rrgks6221:U12345678,alice:U87654321
MESSENGER_TYPE: slack
```
## βοΈ μ
λ ₯κ° (inputs)
| μ΄λ¦ | νμ | μ€λͺ
| μμ |
| ---------------------- | ---- | ------------------------------------------------------------------------ | ----------------------------- |
| `OWNER` | β
| GitHub μ‘°μ§ λλ κ°μΈ μ¬μ©μλͺ
| `rrgks6221` |
| `REPOS` | β
| μ½€λ§(,)λ‘ κ΅¬λΆλ λμ repository μ΄λ¦ λͺ©λ‘ | `repo1,repo2,repo3` |
| `WEBHOOK_URL` | β
| Slack λλ Discordμ Webhook URL | `https://hooks.slack.com/...` |
| `MESSENGER_GITHUB_MAP` | β
| GitHub λλ€μκ³Ό λ©μ μ μ¬μ©μ ID κ° λ§€ν (`λλ€μ:ID` νν, μ½€λ§λ‘ ꡬλΆ) | `rrgks6221:U1234,alice:U5678` |
| `MESSENGER_TYPE` | β | λ©μμ§λ₯Ό λ³΄λΌ λ©μ μ μ’
λ₯ (`slack` λλ `discord`) / κΈ°λ³Έκ°: `slack` | `slack` λλ `discord` |
## λ©μμ§ μμ

## **Contributors**
- [**SeokHo Lee**](https:github.com/rrgks6221) -
## **License**
### Git Hub Pull Request Reminder Bot is [MIT licensed](LICENSE)