-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Labels
enhancementNew feature or requestNew feature or request
Description
go-githubapp/githubapp/context.go
Line 35 in e6f4865
func PrepareRepoContext(ctx context.Context, installationID int64, repo *github.Repository) (context.Context, zerolog.Logger) { |
go-github
has a variety of repository-like objects, notably Repository
and PushEventRepository
. Since PrepareRepoContext
only cares about a few fields accessed via getters, we should define an interface to accommodate the various repository objects.
We should use the same interface in PreparePRContext
.
Gaardsholt
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request