Files
archie/internal/domain/workintake/review_resolver.go
T

13 lines
330 B
Go

package workintake
import (
"context"
workflowtask "github.com/samcharles93/archie-core/internal/domain/workflow/task"
)
// ReviewTaskLookup is the authorization query review reactions require.
type ReviewTaskLookup interface {
OpenTaskByPR(ctx context.Context, owner, repo string, number int) (*workflowtask.Task, error)
}