Skip to main content

opened_by_user

Function opened_by_user 

Source
pub fn opened_by_user(
    pull: &PullRequest,
    repository: &str,
    trigger: &RunTrigger,
) -> bool
Expand description

Whether a pull request trigger runs lets it write: a person opened it, from trigger’s head branch in repository itself. A bot’s, such as Renovate’s or Dependabot’s, only reads.