diff --git a/actions/BUILD.bazel b/actions/BUILD.bazel new file mode 100644 index 000000000000..91c39f4c26df --- /dev/null +++ b/actions/BUILD.bazel @@ -0,0 +1,21 @@ +load("@rules_pkg//pkg:mappings.bzl", "pkg_filegroup", "pkg_files") +load("//misc/bazel:pkg.bzl", "codeql_pack", "codeql_pkg_files") + +package(default_visibility = ["//visibility:public"]) + +[ + codeql_pack( + name = "-".join(parts), + srcs = [ + "//actions/extractor", + ], + pack_prefix = "/".join(parts), + ) + for parts in ( + [ + "experimental", + "actions", + ], + ["actions"], + ) +] diff --git a/actions/extractor/BUILD.bazel b/actions/extractor/BUILD.bazel new file mode 100644 index 000000000000..e6780e10db2a --- /dev/null +++ b/actions/extractor/BUILD.bazel @@ -0,0 +1,10 @@ +load("//misc/bazel:pkg.bzl", "codeql_pkg_files", "strip_prefix") + +codeql_pkg_files( + name = "extractor", + srcs = [ + "codeql-extractor.yml", + ] + glob(["tools/**"]), + strip_prefix = strip_prefix.from_pkg(), + visibility = ["//actions:__pkg__"], +)