Documentation ¶
Index ¶
Constants ¶
View Source
const ( // PluginName is the name of this plugin PluginName = labels.NeedsRebase )
Variables ¶
This section is empty.
Functions ¶
func HandleAll ¶
func HandleAll(log *logrus.Entry, ghc githubClient, config *plugins.Configuration) error
HandleAll checks all orgs and repos that enabled this plugin for open PRs to determine if the "needs-rebase" label needs to be added or removed. It depends on Github's mergeability check to decide the need for a rebase.
func HandleEvent ¶
func HandleEvent(log *logrus.Entry, ghc githubClient, pre *github.PullRequestEvent) error
HandleEvent handles a Github PR event to determine if the "needs-rebase" label needs to be added or removed. It depends on Github mergeability check to decide the need for a rebase.
func HelpProvider ¶
func HelpProvider(enabledRepos []string) (*pluginhelp.PluginHelp, error)
HelpProvider constructs the PluginHelp for this plugin that takes into account enabled repositories. HelpProvider defines the type for function that construct the PluginHelp for plugins.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.