Versions in this module Expand all Collapse all v4 v4.2.10 Oct 6, 2026 Changes in this version + var ErrReviewBodyRequired = errors.New("review body is required for this verdict") + var ErrThreadStatusUpdateUnsupported = errors.New("updating pull request thread status is not supported on GitHub") + func NewProvider(token string) globalEntities.ForgeProvider + type Provider struct + func (p *Provider) AuthToken() string + func (p *Provider) CloneURL(repo globalEntities.Repository) string + func (p *Provider) ClosePullRequest(ctx context.Context, repo globalEntities.Repository, sourceBranch string) (bool, error) + func (p *Provider) ConfigureTransport() + func (p *Provider) CreateBranchWithChanges(ctx context.Context, repo globalEntities.Repository, ...) error + func (p *Provider) CreatePullRequest(ctx context.Context, repo globalEntities.Repository, ...) (*globalEntities.PullRequest, error) + func (p *Provider) DiscoverRepositories(ctx context.Context, org string) ([]globalEntities.Repository, error) + func (p *Provider) GetAuthMethods(_ string) []transport.AuthMethod + func (p *Provider) GetFileContent(ctx context.Context, repo globalEntities.Repository, path string) (string, error) + func (p *Provider) GetPullRequestCheckStatus(ctx context.Context, repo globalEntities.Repository, prID int) (bool, error) + func (p *Provider) GetPullRequestDiff(ctx context.Context, repo globalEntities.Repository, prID int) (string, error) + func (p *Provider) GetPullRequestFiles(ctx context.Context, repo globalEntities.Repository, prID int) ([]globalEntities.PullRequestFile, error) + func (p *Provider) GetPullRequestStatus(ctx context.Context, repo globalEntities.Repository, prID int) (string, error) + func (p *Provider) GetServiceType() globalEntities.ServiceType + func (p *Provider) GetTags(ctx context.Context, repo globalEntities.Repository) ([]string, error) + func (p *Provider) HasFile(ctx context.Context, repo globalEntities.Repository, path string) bool + func (p *Provider) ListFiles(ctx context.Context, repo globalEntities.Repository, pattern string) ([]globalEntities.File, error) + func (p *Provider) ListOpenPullRequests(ctx context.Context, repo globalEntities.Repository) ([]globalEntities.PullRequestDetail, error) + func (p *Provider) ListPullRequestComments(ctx context.Context, repo globalEntities.Repository, prID int) ([]globalEntities.PullRequestComment, error) + func (p *Provider) MatchesURL(rawURL string) bool + func (p *Provider) MergePullRequest(ctx context.Context, repo globalEntities.Repository, prID int, strategy string, ...) error + func (p *Provider) Name() string + func (p *Provider) PostPullRequestComment(ctx context.Context, repo globalEntities.Repository, prID int, body string, ...) error + func (p *Provider) PostPullRequestThreadComment(ctx context.Context, repo globalEntities.Repository, prID int, filePath string, ...) (int, error) + func (p *Provider) PrepareCloneURL(url string) string + func (p *Provider) PullRequestExists(ctx context.Context, repo globalEntities.Repository, sourceBranch string) (bool, error) + func (p *Provider) ReplyToThread(ctx context.Context, repo globalEntities.Repository, prID, threadID int, ...) (int, error) + func (p *Provider) SSHCloneURL(repo globalEntities.Repository, sshAlias string) string + func (p *Provider) SubmitPullRequestReview(ctx context.Context, repo globalEntities.Repository, prID int, ...) error + func (p *Provider) UpdatePullRequestThreadStatus(_ context.Context, _ globalEntities.Repository, _, _ int, _ string) error Other modules containing this package github.com/rios0rios0/gitforge