Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PullRequestTitleRule

PullRequestTitleRule checks the PR or MR's title according to a regular expression.

returns

return a RuleResult object

Hierarchy

  • Rule
    • PullRequestTitleRule

Index

Constructors

constructor

Properties

enabled

enabled: boolean

events

events: GitEventEnum[] = [GitEventEnum.NewPR]

Private googleAnalytics

googleAnalytics: Visitor

name

name: string

onBoth

onBoth: OnSuccessError[]

onError

onError: OnSuccessError[]

onSuccess

onSuccess: OnSuccessError[]

options

Methods

displayRule

  • displayRule(): void

isEnabled

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

validate

Generated using TypeDoc