...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "enforce_release_label",
5 srcs = [
6 "handler.go",
7 "issues.go",
8 ],
9 importpath = "edge-infra.dev/pkg/f8n/devinfra/jack/plugin/enforce_release_label",
10 visibility = ["//visibility:public"],
11 deps = [
12 "//pkg/f8n/devinfra/jack/constants",
13 "//pkg/f8n/devinfra/jack/plugin",
14 "@com_github_google_go_github_v47//github",
15 ],
16)
17
18go_test(
19 name = "enforce_release_label_test",
20 srcs = ["handler_test.go"],
21 embed = [":enforce_release_label"],
22 deps = [
23 "//pkg/f8n/devinfra/jack/constants",
24 "//pkg/f8n/devinfra/jack/plugin",
25 "//pkg/lib/logging",
26 "@com_github_google_go_github_v47//github",
27 ],
28)
View as plain text