GetTriggerGithubPullRequest constructor
const
GetTriggerGithubPullRequest({})
Creates a new GetTriggerGithubPullRequest.
branch Regex of branches to match.
commentControl Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator. Possible values: "COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"
invertRegex If true, branches that do NOT match the gitRef will trigger a build.
Implementation
const GetTriggerGithubPullRequest({
required this.branch,
required this.commentControl,
required this.invertRegex,
});