diff --git a/actions/BUILD.bazel b/actions/BUILD.bazel new file mode 100644 index 000000000000..643d40897185 --- /dev/null +++ b/actions/BUILD.bazel @@ -0,0 +1,20 @@ +load("//misc/bazel:pkg.bzl", "codeql_pack") + +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__"], +) diff --git a/actions/ql/test/query-tests/Placeholder/Placeholder.expected b/actions/ql/test/query-tests/Placeholder/Placeholder.expected index 46bd70296bd9..82fd180be661 100644 --- a/actions/ql/test/query-tests/Placeholder/Placeholder.expected +++ b/actions/ql/test/query-tests/Placeholder/Placeholder.expected @@ -1 +1 @@ -| .github/workflows/shell.yml:0:0:0:0 | .github/workflows/shell.yml | File | +| .github/workflows/shell.yml:0:0:0:0 | .github/workflows/shell.yml | Analyzed a file. |