Documentation ¶
Index ¶
- func AddCommentOnPR(client *github.Client, baseRepoOwner, comment string, ...) error
- func CreatePullRequest(client *github.Client, ...) (*github.PullRequest, error)
- func GetFileContents(client *github.Client, org, repo, filePath, ref string) ([]byte, error)
- func GetGoVersionForLatestRevision(client *github.Client, org, repo, latestRevision string) (string, error)
- func GetLatestRevision(client *github.Client, org, repo, currentRevision, branchName string, ...) (string, bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommentOnPR ¶
func CreatePullRequest ¶
func CreatePullRequest(client *github.Client, org, repo, title, body, baseRepoOwner, baseBranch, headRepoOwner, headBranch, currentRevision, latestRevision string) (*github.PullRequest, error)
CreatePullRequest creates a pull request from the head branch to the base branch on the base repository.
func GetFileContents ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.