updater

package
v0.0.0-...-37c3036 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package updater handles creation and updates of GitHub PullRequests.

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 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)

Types

This section is empty.

Jump to

Keyboard shortcuts

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