repositories

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetReleases added in v0.1.0

func GetReleases(ctx context.Context, client *github.Client, repos []*github.Repository, base string) ([]*github.PullRequest, error)

GetReleases takes a context, github client, and respos to iterate and collects release pull requests for the repos.

func Process

func Process(ctx context.Context, client *github.Client, repo *github.Repository, base string, dryRun bool) (string, error)

Process takes a github client, context for the client, and a repo to process. It returns the resulting pull request URL or an error if any are encountered.

func Release added in v0.1.0

func Release(ctx context.Context, client *github.Client, releases []*github.PullRequest, dryRun bool) ([]string, error)

Release takex context, githug blient, a list of releases, and whether or not to perform a dry run. If it is not a dry run and the pull request is mergeable, it will merge it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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