13 lines
330 B
Go
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)
|
|
}
|