Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterPullRequests ¶
func FilterPullRequests(prs []*github.PullRequest, filter *PRFilter) []*github.PullRequest
FilterPullRequests applies filters to a list of pull requests
func MatchesDraft ¶
func MatchesDraft(pr *github.PullRequest, filterStatus string) bool
MatchesDraft checks if a PR matches the draft filter
Types ¶
type PRFilter ¶
type PRFilter struct {
Author string // Filter by author login (supports "me")
Status string // Filter by status (draft, approved, changes_requested, review_required)
Branch string // Filter by branch pattern (supports wildcards)
CurrentUser string // Current authenticated user login (for "me")
}
PRFilter contains criteria for filtering pull requests
Click to show internal directories.
Click to hide internal directories.