prwatcher

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package prwatcher monitors open pull requests and auto-merges eligible ones.

Eligibility requires: not draft, trusted author, no excluded labels, all CI checks passed, and mergeable. The watcher runs concurrently with the dispatcher via errgroup.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

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

Watcher polls open PRs and auto-merges eligible ones.

func New

New creates a Watcher with the given PR manager and merge policy.

func (*Watcher) Run

func (w *Watcher) Run(ctx context.Context) error

Run polls open PRs at the configured interval until the context is cancelled.

Jump to

Keyboard shortcuts

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