Documentation ¶
Index ¶
Constants ¶
View Source
const ForceSkipDescription = "**IGNORE** the bot requirements for this PR (force green CI check)"
This is the description for a persistent rule with a non-standard behavior that allow maintainer to force the "success" state of the CI check
Variables ¶
This section is empty.
Functions ¶
func Config ¶
func Config(gh *client.GitHub) ([]AutomaticCheck, []ManualCheck)
This function returns the configuration of the bot consisting of automatic and manual checks in which the GitHub client is injected.
Types ¶
type AutomaticCheck ¶
type AutomaticCheck struct { Description string If c.Condition // If the condition is met, the rule is displayed and the requirement is executed. Then r.Requirement // If the requirement is satisfied, the check passes. }
Automatic check that will be performed by the bot.
Click to show internal directories.
Click to hide internal directories.