feat: pull request generation
This commit is contained in:
@ -12,12 +12,12 @@ import (
|
||||
)
|
||||
|
||||
func NewIssueHandlerFromConfig(ctx context.Context, conf *config.Config) (*issue.Handler, error) {
|
||||
issueManager, err := NewIssueManagerFromConfig(ctx, conf)
|
||||
forgeManager, err := NewForgeManagerFromConfig(ctx, conf)
|
||||
if err != nil {
|
||||
return nil, errors.WithStack(err)
|
||||
}
|
||||
|
||||
return issue.NewHandler(issueManager), nil
|
||||
return issue.NewHandler(forgeManager), nil
|
||||
}
|
||||
|
||||
type authProviderBasedForgeFactory struct {
|
||||
|
Reference in New Issue
Block a user