updater

package
v0.0.0-...-de1ed7c Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (
	AllowMods   = true
	PreventMods = false
)

Indicates whether maintainers can modify a pull request in fork.

Variables

This section is empty.

Functions

func EnsurePR

func EnsurePR(org, repo, title, body, source, branch, headBranch string, allowMods bool, gc ensureClient) (*int, error)

func EnsurePRWithLabels

func EnsurePRWithLabels(org, repo, title, body, source, baseBranch, headBranch string, allowMods bool, gc ensureClient, labels []string) (*int, error)

func EnsurePRWithQueryTokens

func EnsurePRWithQueryTokens(org, repo, title, body, source, baseBranch, queryTokensString string, allowMods bool, gc ensureClient) (*int, error)

func EnsurePRWithQueryTokensAndLabels

func EnsurePRWithQueryTokensAndLabels(org, repo, title, body, source, baseBranch, queryTokensString string, allowMods bool, labels []string, gc ensureClient) (*int, error)

func UpdatePR

func UpdatePR(org, repo, title, body, headBranch string, gc updateClient) (*int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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