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, bool)],
    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. Each entry is a freshly created branch and whether git-stk will write a managed section (description, Closes #N, or stack overview) into its review below the template - which decides whether a seam rule is seeded.