{"modulePath":"github.com/chia-network/github-bot","version":"v0.0.0-20260526172741-d74b6c8fc972","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package github\n\n## Functions\n\n```go\nfunc CheckAndComment(ctx context.Context, client *github.Client, owner, repo string, prNumber int) error\n```\nCheckAndComment checks for the specific comment from a specific account and posts a comment if it doesn't exist.\n\n```go\nfunc FindAllPRs(cfg *config.Config, teamMembers map[string]bool, githubClient *github.Client, owner string, repo string, minimumNumber int) ([]*github.PullRequest, error)\n```\nFindAllPRs obtains all PRs for the repository\n\n```go\nfunc FindCommunityPRs(cfg *config.Config, teamMembers map[string]bool, githubClient *github.Client, owner string, repo string, minimumNumber int) ([]*github.PullRequest, error)\n```\nFindCommunityPRs obtains PRs based on provided filters for community members\n\n```go\nfunc GetTeamMemberList(githubClient *github.Client, internalTeam string, internalTeamIgnoredMembers []string) (map[string]bool, error)\n```\nGetTeamMemberList obtains a list of teammembers\n\n## Types\n\n```go\ntype PendingPR struct {\n\tRepo     string\n\tPRNumber int\n\tURL      string\n}\n```\nPendingPR holds information about pending PRs\n\n```go\nfunc CheckForPendingCI(ctx context.Context, githubClient *github.Client, cfg *config.Config) ([]PendingPR, error)\n```\nCheckForPendingCI returns a list of PR URLs that are ready for CI to run but haven't started yet.\n\n```go\ntype StalePR struct {\n\tRepo     string\n\tPRNumber int\n\tURL      string\n}\n```\nStalePR holds information about pending PRs\n\n```go\nfunc CheckStalePRs(ctx context.Context, githubClient *github.Client, cfg *config.Config) ([]StalePR, error)\n```\nCheckStalePRs will return a list of PR URLs that have not been updated in the last 7 days by internal team members.\n\n```go\ntype UnsignedPRs struct {\n\tOwner    string\n\tRepo     string\n\tPRNumber int\n\tURL      string\n}\n```\nUnsignedPRs holds information about pending PRs\n\n```go\nfunc CheckUnsignedCommits(ctx context.Context, githubClient *github.Client, cfg *config.Config) ([]UnsignedPRs, error)\n```\nCheckUnsignedCommits will return a list of PR URLs that have not been updated in the last 7 days by internal team members.\n\n","path":"github.com/chia-network/github-bot/internal/github","name":"github","synopsis":"","isRedistributable":true}
