Skip to main content

update_closes_notes

Function update_closes_notes 

Source
pub fn update_closes_notes(
    review_provider: &dyn ReviewProvider,
    branches: &[String],
    dry_run: bool,
) -> Result<()>
Expand description

Add a Closes #N line to each branch’s review when the branch name references an issue (e.g. 123-fix-thing, fix/issue-123), so the platform closes the issue when the review merges. Branches without an issue reference are passed over silently.