load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "reviewer", srcs = ["reviewer.go"], importpath = "edge-infra.dev/pkg/f8n/devinfra/repo/owners/policybot/policy/reviewer", visibility = ["//visibility:public"], deps = [ "//pkg/f8n/devinfra/repo/owners/policybot/policy/common", "//pkg/f8n/devinfra/repo/owners/policybot/pull", "@com_github_pkg_errors//:errors", "@com_github_rs_zerolog//:zerolog", ], ) go_test( name = "reviewer_test", srcs = ["reviewer_test.go"], embed = [":reviewer"], deps = [ "//pkg/f8n/devinfra/repo/owners/policybot/policy/common", "//pkg/f8n/devinfra/repo/owners/policybot/pull", "//pkg/f8n/devinfra/repo/owners/policybot/pull/pulltest", "@com_github_stretchr_testify//assert", "@com_github_stretchr_testify//require", ], )