merger

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package merger implements the core logic for discovering, evaluating, and merging pull requests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Merger

type Merger struct {
	// contains filtered or unexported fields
}

Merger handles the discovery, evaluation, and merging of pull requests.

func New

func New(client gh.Client, cfg *config.Config, logOutput io.Writer) *Merger

New creates a new Merger with the given client and configuration.

func (*Merger) Run

func (m *Merger) Run(ctx context.Context) (*output.RunResult, error)

Run executes the merger logic and returns the result. Processing is strictly sequential: one repository at a time, one PR at a time.

func (*Merger) RunWithActions

func (m *Merger) RunWithActions(ctx context.Context, scanResult *output.RunResult) (*output.RunResult, error)

RunWithActions executes actions on a previously scanned result (used with --confirm).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL