prworkflow

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package prworkflow supports pull request review and follow-up workflows.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Workspace string
	Message   string
	Title     string
	Body      string
	Branch    string
	Base      string
	Remote    string
	All       bool
	Draft     bool
	NoPR      bool
	DryRun    bool
}

type Report

type Report struct {
	Kind       string             `json:"kind"`
	Status     string             `json:"status"`
	DryRun     bool               `json:"dry_run"`
	Branch     string             `json:"branch"`
	Base       string             `json:"base,omitempty"`
	Remote     string             `json:"remote"`
	Title      string             `json:"title"`
	Commit     string             `json:"commit,omitempty"`
	PRURL      string             `json:"pr_url,omitempty"`
	Message    string             `json:"message,omitempty"`
	Steps      []Step             `json:"steps"`
	Ship       *ship.Report       `json:"ship,omitempty"`
	ShipEvents []laneevents.Event `json:"ship_events,omitempty"`
}

func Run

func Run(ctx context.Context, opts Options) (Report, error)

type Step

type Step struct {
	Name    string   `json:"name"`
	Command []string `json:"command,omitempty"`
	Status  string   `json:"status"`
	Output  string   `json:"output,omitempty"`
}

Jump to

Keyboard shortcuts

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