Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CheckPullRequestStatusRule

CheckPullRequestStatusRule checks if the Pull Request event matchs.

param

new|merged|closed|reopened

returns

return a RuleResult object

Hierarchy

  • Rule
    • CheckPullRequestStatusRule

Index

Constructors

constructor

Properties

enabled

enabled: boolean

events

events: GitEventEnum[] = [GitEventEnum.NewPR,GitEventEnum.ClosedPR,GitEventEnum.MergedPR,GitEventEnum.ReopenedPR,]

Private googleAnalytics

googleAnalytics: Visitor

name

name: string

onBoth

onBoth: OnSuccessError[]

onError

onError: OnSuccessError[]

onSuccess

onSuccess: OnSuccessError[]

options

Methods

displayRule

  • displayRule(): void

getEvent

isEnabled

  • isEnabled(webhook: Webhook, ruleConfig: any): false

validate

Generated using TypeDoc