RuleContext
Shared context provided to rules when they run on an entity.
Properties
Section titled “Properties”locator
Section titled “locator”locator:
RepositoryLocator
Repository location on GitHub.
octokit
Section titled “octokit”octokit:
LocatedOctokit
Octokit instance that can send GitHub API calls.
Its owner and repo parameters default to RuleContext.locator.
options
Section titled “options”options:
RuleOptions
Options the rule is running with, resolved from rule and user settings.
report
Section titled “report”report:
RuleReporter
Registers a new violation.