Expand description
Constructors§
Source§new OrganizationConfig(
keywordConfig?: OrganizationConfig | undefined,
): OrganizationConfig
new OrganizationConfig(
keywordConfig?: OrganizationConfig | undefined,
): OrganizationConfig
Creates an instance of OrganizationConfig.
Properties§
Indicates whether the pull request author should be added as an assignee.
readonly first Review Submit Date Project Field Name?: string"First Review Date"The name of the field for the first review submit date.
readonly last Approved Review Submit Date Project Field Name?: string"Last Approved Review Date"The name of the field for the last approved review submit date.
readonly last Review Submit Date Project Field Name?: string"Last Review Date"The name of the field for the last review submit date.
readonly open Pull Request Date Project Field Name?: string"Posted Date"The name of the field for the open pull request date.
readonly project Template Number?: numberThe number of the project template.
readonly project Title Prefix: string"monitor-"The prefix for project titles.
readonly review Iteration Number Project Field Name?: string"Review Iteration"The name of the field for the review iteration number.
private static readonly config File Name: string"logus.yml"The name of the configuration file.
Methods§
Source§load(context: LogusOrgConfigContext): Promise<OrganizationConfig>
load(context: LogusOrgConfigContext): Promise<OrganizationConfig>
Loads the organization configuration from the repository.
Attempts to load configuration from .github-private/.github/logus.yml.
If the file is not found, falls back to .github/.github/logus.yml.
If no configuration file exists, returns the default configuration values defined in this class.
When a custom configuration is found, values from the custom configuration override the default values. Any configuration fields not present in the custom configuration retain their default values.
Represents the configuration for the Logus organization.
This class defines default configuration values. When loading from a repository: