Skip to main content

owners

Function owners 

Source
pub fn owners(
    gh: &Gh,
    facts: &RepoFacts,
    code_owners: &[String],
    solo: bool,
) -> Result<Vec<ForgeAccount>>
Expand description

The owners the guard is chosen from: the person running this (on a personal repository, the account holder — the only admin one can have) plus each --code-owner, counted once per account id.

On an organisation repository fewer than two owners is refused unless solo: with no owner review, any other member with write access could edit the workflow in the pull request it judges.