prworkflow

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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