Versions in this module Expand all Collapse all v0 v0.2.1 Jan 2, 2021 Changes in this version + type PullRequestsService struct + type PullRequestsServiceInterface interface + Create func(ctx context.Context, owner string, repo string, pull *github.NewPullRequest) (*github.PullRequest, *github.Response, error) + CreateComment func(ctx context.Context, owner string, repo string, number int, ...) (*github.PullRequestComment, *github.Response, error) + CreateCommentInReplyTo func(ctx context.Context, owner string, repo string, number int, body string, ...) (*github.PullRequestComment, *github.Response, error) + CreateReview func(ctx context.Context, owner, repo string, number int, ...) (*github.PullRequestReview, *github.Response, error) + DeleteComment func(ctx context.Context, owner string, repo string, commentID int64) (*github.Response, error) + DeletePendingReview func(ctx context.Context, owner, repo string, number int, reviewID int64) (*github.PullRequestReview, *github.Response, error) + DismissReview func(ctx context.Context, owner, repo string, number int, reviewID int64, ...) (*github.PullRequestReview, *github.Response, error) + Edit func(ctx context.Context, owner string, repo string, number int, ...) (*github.PullRequest, *github.Response, error) + EditComment func(ctx context.Context, owner string, repo string, commentID int64, ...) (*github.PullRequestComment, *github.Response, error) + Get func(ctx context.Context, owner string, repo string, number int) (*github.PullRequest, *github.Response, error) + GetComment func(ctx context.Context, owner string, repo string, commentID int64) (*github.PullRequestComment, *github.Response, error) + GetRaw func(ctx context.Context, owner string, repo string, number int, ...) (string, *github.Response, error) + GetReview func(ctx context.Context, owner, repo string, number int, reviewID int64) (*github.PullRequestReview, *github.Response, error) + IsMerged func(ctx context.Context, owner string, repo string, number int) (bool, *github.Response, error) + List func(ctx context.Context, owner string, repo string, ...) ([]*github.PullRequest, *github.Response, error) + ListComments func(ctx context.Context, owner string, repo string, number int, ...) ([]*github.PullRequestComment, *github.Response, error) + ListCommits func(ctx context.Context, owner string, repo string, number int, ...) ([]*github.RepositoryCommit, *github.Response, error) + ListFiles func(ctx context.Context, owner string, repo string, number int, ...) ([]*github.CommitFile, *github.Response, error) + ListPullRequestsWithCommit func(ctx context.Context, owner, repo, sha string, ...) ([]*github.PullRequest, *github.Response, error) + ListReviewComments func(ctx context.Context, owner, repo string, number int, reviewID int64, ...) ([]*github.PullRequestComment, *github.Response, error) + ListReviewers func(ctx context.Context, owner, repo string, number int, opts *github.ListOptions) (*github.Reviewers, *github.Response, error) + ListReviews func(ctx context.Context, owner, repo string, number int, opts *github.ListOptions) ([]*github.PullRequestReview, *github.Response, error) + Merge func(ctx context.Context, owner string, repo string, number int, ...) (*github.PullRequestMergeResult, *github.Response, error) + RemoveReviewers func(ctx context.Context, owner, repo string, number int, ...) (*github.Response, error) + RequestReviewers func(ctx context.Context, owner, repo string, number int, ...) (*github.PullRequest, *github.Response, error) + SubmitReview func(ctx context.Context, owner, repo string, number int, reviewID int64, ...) (*github.PullRequestReview, *github.Response, error) + UpdateBranch func(ctx context.Context, owner, repo string, number int, ...) (*github.PullRequestBranchUpdateResponse, *github.Response, error) + UpdateReview func(ctx context.Context, owner, repo string, number int, reviewID int64, ...) (*github.PullRequestReview, *github.Response, error) + type RepositoriesService struct + type RepositoriesServiceInterface interface + AddAdminEnforcement func(ctx context.Context, owner, repo, branch string) (*github.AdminEnforcement, *github.Response, error) + AddAppRestrictions func(ctx context.Context, owner, repo, branch string, slug []string) ([]*github.App, *github.Response, error) + AddCollaborator func(ctx context.Context, owner, repo, user string, ...) (*github.CollaboratorInvitation, *github.Response, error) + CompareCommits func(ctx context.Context, owner, repo string, base, head string) (*github.CommitsComparison, *github.Response, error) + CompareCommitsRaw func(ctx context.Context, owner, repo, base, head string, opts github.RawOptions) (string, *github.Response, error) + Create func(ctx context.Context, org string, repo *github.Repository) (*github.Repository, *github.Response, error) + CreateComment func(ctx context.Context, owner, repo, sha string, ...) (*github.RepositoryComment, *github.Response, error) + CreateDeployment func(ctx context.Context, owner, repo string, request *github.DeploymentRequest) (*github.Deployment, *github.Response, error) + CreateDeploymentStatus func(ctx context.Context, owner, repo string, deployment int64, ...) (*github.DeploymentStatus, *github.Response, error) + CreateFile func(ctx context.Context, owner, repo, path string, ...) (*github.RepositoryContentResponse, *github.Response, error) + CreateFork func(ctx context.Context, owner, repo string, ...) (*github.Repository, *github.Response, error) + CreateFromTemplate func(ctx context.Context, templateOwner, templateRepo string, ...) (*github.Repository, *github.Response, error) + CreateHook func(ctx context.Context, owner, repo string, hook *github.Hook) (*github.Hook, *github.Response, error) + CreateKey func(ctx context.Context, owner string, repo string, key *github.Key) (*github.Key, *github.Response, error) + CreateProject func(ctx context.Context, owner, repo string, opts *github.ProjectOptions) (*github.Project, *github.Response, error) + CreateRelease func(ctx context.Context, owner, repo string, release *github.RepositoryRelease) (*github.RepositoryRelease, *github.Response, error) + CreateStatus func(ctx context.Context, owner, repo, ref string, status *github.RepoStatus) (*github.RepoStatus, *github.Response, error) + Delete func(ctx context.Context, owner, repo string) (*github.Response, error) + DeleteComment func(ctx context.Context, owner, repo string, id int64) (*github.Response, error) + DeleteDeployment func(ctx context.Context, owner, repo string, deploymentID int64) (*github.Response, error) + DeleteFile func(ctx context.Context, owner, repo, path string, ...) (*github.RepositoryContentResponse, *github.Response, error) + DeleteHook func(ctx context.Context, owner, repo string, id int64) (*github.Response, error) + DeleteInvitation func(ctx context.Context, owner, repo string, invitationID int64) (*github.Response, error) + DeleteKey func(ctx context.Context, owner string, repo string, id int64) (*github.Response, error) + DeletePreReceiveHook func(ctx context.Context, owner, repo string, id int64) (*github.Response, error) + DeleteRelease func(ctx context.Context, owner, repo string, id int64) (*github.Response, error) + DeleteReleaseAsset func(ctx context.Context, owner, repo string, id int64) (*github.Response, error) + DisableAutomatedSecurityFixes func(ctx context.Context, owner, repository string) (*github.Response, error) + DisableDismissalRestrictions func(ctx context.Context, owner, repo, branch string) (*github.PullRequestReviewsEnforcement, *github.Response, error) + DisablePages func(ctx context.Context, owner, repo string) (*github.Response, error) + DisableVulnerabilityAlerts func(ctx context.Context, owner, repository string) (*github.Response, error) + Dispatch func(ctx context.Context, owner, repo string, opts github.DispatchRequestOptions) (*github.Repository, *github.Response, error) + DownloadContents func(ctx context.Context, owner, repo, filepath string, ...) (io.ReadCloser, *github.Response, error) + DownloadReleaseAsset func(ctx context.Context, owner, repo string, id int64, ...) (rc io.ReadCloser, redirectURL string, err error) + Edit func(ctx context.Context, owner, repo string, repository *github.Repository) (*github.Repository, *github.Response, error) + EditHook func(ctx context.Context, owner, repo string, id int64, hook *github.Hook) (*github.Hook, *github.Response, error) + EditRelease func(ctx context.Context, owner, repo string, id int64, ...) (*github.RepositoryRelease, *github.Response, error) + EditReleaseAsset func(ctx context.Context, owner, repo string, id int64, ...) (*github.ReleaseAsset, *github.Response, error) + EnableAutomatedSecurityFixes func(ctx context.Context, owner, repository string) (*github.Response, error) + EnablePages func(ctx context.Context, owner, repo string, pages *github.Pages) (*github.Pages, *github.Response, error) + EnableVulnerabilityAlerts func(ctx context.Context, owner, repository string) (*github.Response, error) + Get func(ctx context.Context, owner, repo string) (*github.Repository, *github.Response, error) + GetAdminEnforcement func(ctx context.Context, owner, repo, branch string) (*github.AdminEnforcement, *github.Response, error) + GetArchiveLink func(ctx context.Context, owner, repo string, archiveformat github.ArchiveFormat, ...) (*url.URL, *github.Response, error) + GetBranch func(ctx context.Context, owner, repo, branch string) (*github.Branch, *github.Response, error) + GetBranchProtection func(ctx context.Context, owner, repo, branch string) (*github.Protection, *github.Response, error) + GetByID func(ctx context.Context, id int64) (*github.Repository, *github.Response, error) + GetCodeOfConduct func(ctx context.Context, owner, repo string) (*github.CodeOfConduct, *github.Response, error) + GetCombinedStatus func(ctx context.Context, owner, repo, ref string, opts *github.ListOptions) (*github.CombinedStatus, *github.Response, error) + GetComment func(ctx context.Context, owner, repo string, id int64) (*github.RepositoryComment, *github.Response, error) + GetCommit func(ctx context.Context, owner, repo, sha string) (*github.RepositoryCommit, *github.Response, error) + GetCommitRaw func(ctx context.Context, owner string, repo string, sha string, ...) (string, *github.Response, error) + GetCommitSHA1 func(ctx context.Context, owner, repo, ref, lastSHA string) (string, *github.Response, error) + GetCommunityHealthMetrics func(ctx context.Context, owner, repo string) (*github.CommunityHealthMetrics, *github.Response, error) + GetContents func(ctx context.Context, owner, repo, path string, ...) (fileContent *github.RepositoryContent, ...) + GetDeployment func(ctx context.Context, owner, repo string, deploymentID int64) (*github.Deployment, *github.Response, error) + GetDeploymentStatus func(ctx context.Context, owner, repo string, ...) (*github.DeploymentStatus, *github.Response, error) + GetHook func(ctx context.Context, owner, repo string, id int64) (*github.Hook, *github.Response, error) + GetKey func(ctx context.Context, owner string, repo string, id int64) (*github.Key, *github.Response, error) + GetLatestPagesBuild func(ctx context.Context, owner, repo string) (*github.PagesBuild, *github.Response, error) + GetLatestRelease func(ctx context.Context, owner, repo string) (*github.RepositoryRelease, *github.Response, error) + GetPageBuild func(ctx context.Context, owner, repo string, id int64) (*github.PagesBuild, *github.Response, error) + GetPagesInfo func(ctx context.Context, owner, repo string) (*github.Pages, *github.Response, error) + GetPermissionLevel func(ctx context.Context, owner, repo, user string) (*github.RepositoryPermissionLevel, *github.Response, error) + GetPreReceiveHook func(ctx context.Context, owner, repo string, id int64) (*github.PreReceiveHook, *github.Response, error) + GetPullRequestReviewEnforcement func(ctx context.Context, owner, repo, branch string) (*github.PullRequestReviewsEnforcement, *github.Response, error) + GetReadme func(ctx context.Context, owner, repo string, ...) (*github.RepositoryContent, *github.Response, error) + GetRelease func(ctx context.Context, owner, repo string, id int64) (*github.RepositoryRelease, *github.Response, error) + GetReleaseAsset func(ctx context.Context, owner, repo string, id int64) (*github.ReleaseAsset, *github.Response, error) + GetReleaseByTag func(ctx context.Context, owner, repo, tag string) (*github.RepositoryRelease, *github.Response, error) + GetRequiredStatusChecks func(ctx context.Context, owner, repo, branch string) (*github.RequiredStatusChecks, *github.Response, error) + GetSignaturesProtectedBranch func(ctx context.Context, owner, repo, branch string) (*github.SignaturesProtectedBranch, *github.Response, error) + GetVulnerabilityAlerts func(ctx context.Context, owner, repository string) (bool, *github.Response, error) + IsCollaborator func(ctx context.Context, owner, repo, user string) (bool, *github.Response, error) + License func(ctx context.Context, owner, repo string) (*github.RepositoryLicense, *github.Response, error) + List func(ctx context.Context, user string, opts *github.RepositoryListOptions) ([]*github.Repository, *github.Response, error) + ListAll func(ctx context.Context, opts *github.RepositoryListAllOptions) ([]*github.Repository, *github.Response, error) + ListAllTopics func(ctx context.Context, owner, repo string) ([]string, *github.Response, error) + ListApps func(ctx context.Context, owner, repo, branch string) ([]*github.App, *github.Response, error) + ListBranches func(ctx context.Context, owner string, repo string, opts *github.BranchListOptions) ([]*github.Branch, *github.Response, error) + ListBranchesHeadCommit func(ctx context.Context, owner, repo, sha string) ([]*github.BranchCommit, *github.Response, error) + ListByOrg func(ctx context.Context, org string, opts *github.RepositoryListByOrgOptions) ([]*github.Repository, *github.Response, error) + ListCodeFrequency func(ctx context.Context, owner, repo string) ([]*github.WeeklyStats, *github.Response, error) + ListCollaborators func(ctx context.Context, owner, repo string, opts *github.ListCollaboratorsOptions) ([]*github.User, *github.Response, error) + ListComments func(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.RepositoryComment, *github.Response, error) + ListCommitActivity func(ctx context.Context, owner, repo string) ([]*github.WeeklyCommitActivity, *github.Response, error) + ListCommitComments func(ctx context.Context, owner, repo, sha string, opts *github.ListOptions) ([]*github.RepositoryComment, *github.Response, error) + ListCommits func(ctx context.Context, owner, repo string, opts *github.CommitsListOptions) ([]*github.RepositoryCommit, *github.Response, error) + ListContributors func(ctx context.Context, owner string, repository string, ...) ([]*github.Contributor, *github.Response, error) + ListContributorsStats func(ctx context.Context, owner, repo string) ([]*github.ContributorStats, *github.Response, error) + ListDeploymentStatuses func(ctx context.Context, owner, repo string, deployment int64, ...) ([]*github.DeploymentStatus, *github.Response, error) + ListDeployments func(ctx context.Context, owner, repo string, opts *github.DeploymentsListOptions) ([]*github.Deployment, *github.Response, error) + ListForks func(ctx context.Context, owner, repo string, ...) ([]*github.Repository, *github.Response, error) + ListHooks func(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.Hook, *github.Response, error) + ListInvitations func(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.RepositoryInvitation, *github.Response, error) + ListKeys func(ctx context.Context, owner string, repo string, opts *github.ListOptions) ([]*github.Key, *github.Response, error) + ListLanguages func(ctx context.Context, owner string, repo string) (map[string]int, *github.Response, error) + ListPagesBuilds func(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.PagesBuild, *github.Response, error) + ListParticipation func(ctx context.Context, owner, repo string) (*github.RepositoryParticipation, *github.Response, error) + ListPreReceiveHooks func(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.PreReceiveHook, *github.Response, error) + ListProjects func(ctx context.Context, owner, repo string, opts *github.ProjectListOptions) ([]*github.Project, *github.Response, error) + ListPunchCard func(ctx context.Context, owner, repo string) ([]*github.PunchCard, *github.Response, error) + ListReleaseAssets func(ctx context.Context, owner, repo string, id int64, opts *github.ListOptions) ([]*github.ReleaseAsset, *github.Response, error) + ListReleases func(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.RepositoryRelease, *github.Response, error) + ListRequiredStatusChecksContexts func(ctx context.Context, owner, repo, branch string) (contexts []string, resp *github.Response, err error) + ListStatuses func(ctx context.Context, owner, repo, ref string, opts *github.ListOptions) ([]*github.RepoStatus, *github.Response, error) + ListTags func(ctx context.Context, owner string, repo string, opts *github.ListOptions) ([]*github.RepositoryTag, *github.Response, error) + ListTeams func(ctx context.Context, owner string, repo string, opts *github.ListOptions) ([]*github.Team, *github.Response, error) + ListTrafficClones func(ctx context.Context, owner, repo string, opts *github.TrafficBreakdownOptions) (*github.TrafficClones, *github.Response, error) + ListTrafficPaths func(ctx context.Context, owner, repo string) ([]*github.TrafficPath, *github.Response, error) + ListTrafficReferrers func(ctx context.Context, owner, repo string) ([]*github.TrafficReferrer, *github.Response, error) + ListTrafficViews func(ctx context.Context, owner, repo string, opts *github.TrafficBreakdownOptions) (*github.TrafficViews, *github.Response, error) + Merge func(ctx context.Context, owner, repo string, ...) (*github.RepositoryCommit, *github.Response, error) + OptionalSignaturesOnProtectedBranch func(ctx context.Context, owner, repo, branch string) (*github.Response, error) + PingHook func(ctx context.Context, owner, repo string, id int64) (*github.Response, error) + RemoveAdminEnforcement func(ctx context.Context, owner, repo, branch string) (*github.Response, error) + RemoveAppRestrictions func(ctx context.Context, owner, repo, branch string, slug []string) ([]*github.App, *github.Response, error) + RemoveBranchProtection func(ctx context.Context, owner, repo, branch string) (*github.Response, error) + RemoveCollaborator func(ctx context.Context, owner, repo, user string) (*github.Response, error) + RemovePullRequestReviewEnforcement func(ctx context.Context, owner, repo, branch string) (*github.Response, error) + ReplaceAllTopics func(ctx context.Context, owner, repo string, topics []string) ([]string, *github.Response, error) + ReplaceAppRestrictions func(ctx context.Context, owner, repo, branch string, slug []string) ([]*github.App, *github.Response, error) + RequestPageBuild func(ctx context.Context, owner, repo string) (*github.PagesBuild, *github.Response, error) + RequireSignaturesOnProtectedBranch func(ctx context.Context, owner, repo, branch string) (*github.SignaturesProtectedBranch, *github.Response, error) + TestHook func(ctx context.Context, owner, repo string, id int64) (*github.Response, error) + Transfer func(ctx context.Context, owner, repo string, transfer github.TransferRequest) (*github.Repository, *github.Response, error) + UpdateBranchProtection func(ctx context.Context, owner, repo, branch string, ...) (*github.Protection, *github.Response, error) + UpdateComment func(ctx context.Context, owner, repo string, id int64, ...) (*github.RepositoryComment, *github.Response, error) + UpdateFile func(ctx context.Context, owner, repo, path string, ...) (*github.RepositoryContentResponse, *github.Response, error) + UpdateInvitation func(ctx context.Context, owner, repo string, invitationID int64, ...) (*github.RepositoryInvitation, *github.Response, error) + UpdatePages func(ctx context.Context, owner, repo string, opts *github.PagesUpdate) (*github.Response, error) + UpdatePreReceiveHook func(ctx context.Context, owner, repo string, id int64, hook *github.PreReceiveHook) (*github.PreReceiveHook, *github.Response, error) + UpdatePullRequestReviewEnforcement func(ctx context.Context, owner, repo, branch string, ...) (*github.PullRequestReviewsEnforcement, *github.Response, error) + UpdateRequiredStatusChecks func(ctx context.Context, owner, repo, branch string, ...) (*github.RequiredStatusChecks, *github.Response, error) + UploadReleaseAsset func(ctx context.Context, owner, repo string, id int64, opts *github.UploadOptions, ...) (*github.ReleaseAsset, *github.Response, error) v0.1.1 Jan 2, 2021