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