Skip to content

It is an event for devbot, which can help to understand the current list of the reviewers available in configuration of devbot

License

Notifications You must be signed in to change notification settings

sharovik/devbotreviewers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Reviewers list event

The event which can help to understand which reviewers are available in the memory of the devbot.

Installation guide

Go to devbot project directory and run the next in CMD:

git clone git@github.com:sharovik/devbotreviewers.git events/devbotreviewers

Then open the defined-events.go file and add there event

package events

import (
//...
	"github.com/sharovik/devbot/events/devbotreviewers"
//...
)

//DefinedEvents collects all the events which can be triggered by the messages
var DefinedEvents = base.Events{}

func init() {
	DefinedEvents.Events = make(map[string]base.Event)
//...
	DefinedEvents.Events[devbotreviewers.EventName] = devbotreviewers.Event
//...
}

After that, to install the event please run

make install

Usage

Write in PM or tag the bot user in the channel with this message

show reviewers

As the result you will see the list of available bitbucket reviewers. These reviewers bot will use during the pull-request validation and creation.

About

It is an event for devbot, which can help to understand the current list of the reviewers available in configuration of devbot

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages