https://github.com/sharovik/bitbucketpingreview
Sometimes happens, that your Pull-request for some reason miss the review. In that case you always need to go to each user and ping them manually. I introduced a new event, which can help you with that. Just type `ping revewers {PULL_REQUESTS_LIST}` and devbot will ping the reviewers in slack to review these PR's.
https://github.com/sharovik/bitbucketpingreview
bitbucket bot devbot development go golang pull-requests slack slack-bot
Last synced: 5 months ago
JSON representation
Sometimes happens, that your Pull-request for some reason miss the review. In that case you always need to go to each user and ping them manually. I introduced a new event, which can help you with that. Just type `ping revewers {PULL_REQUESTS_LIST}` and devbot will ping the reviewers in slack to review these PR's.
- Host: GitHub
- URL: https://github.com/sharovik/bitbucketpingreview
- Owner: sharovik
- Created: 2022-05-27T11:05:27.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-05-02T18:30:31.000Z (about 3 years ago)
- Last Synced: 2024-06-21T06:45:06.518Z (about 2 years ago)
- Topics: bitbucket, bot, devbot, development, go, golang, pull-requests, slack, slack-bot
- Language: Go
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bitbucket ping reviewers
Sometimes happens, that your Pull-request for some reason miss the review. In that case you always need to go to each user and ping them manually. I introduced a new event for [devbot application](https://github.com/sharovik/devbot), which can help you with that. Just type `ping revewers {PULL_REQUESTS_LIST}` and [devbot](https://github.com/sharovik/devbot) will ping the reviewers in slack to review these PR's.
### Clone into devbot project
```
git clone git@github.com:sharovik/bitbucketpingreview.git events/bitbucketpingreview
```
### Install it into your devbot project
1. clone this repository into `events/` folder of your devbot project. Please make sure to use `bitbucketpingreview` folder name for this event
2. add this event into `defined-events.go` file to the defined events map object
```
import (
//...
"github.com/sharovik/devbot/events/bitbucketpingreview"
)
// DefinedEvents variable contains the list of events, which will be installed/used by the devbot
var DefinedEvents = []event.DefinedEventInterface{
//...
bitbucketpingreview.Event,
}
```
## Usage
Write in PM or tag the bot user with this message
```
ping reviewers {PULL_REQUEST_1} {PULL_REQUEST_2} ... {PULL_REQUEST_N}
```