Skip to main content

seed_template_notes

Function seed_template_notes 

Source
pub fn seed_template_notes(
    review_provider: &dyn ReviewProvider,
    kind: ProviderKind,
    created: &[String],
    dry_run: bool,
) -> Result<()>
Expand description

Seed each freshly created review’s body with the repo’s PR/MR template, so the managed sections below augment it instead of --fill replacing it. Create-only - existing reviews keep whatever body they have - and skipped when stk.usePrTemplate is off or the repo has no single template.