Skip to content

Commit

Permalink
Merge pull request #17867 from github/dbartol/actions-build
Browse files Browse the repository at this point in the history
Add the Actions extractor to the build
  • Loading branch information
redsun82 authored Oct 30, 2024
2 parents b00bbc9 + b07642b commit 4c73c62
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
20 changes: 20 additions & 0 deletions actions/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -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"],
)
]
10 changes: 10 additions & 0 deletions actions/extractor/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -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__"],
)
Original file line number Diff line number Diff line change
@@ -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. |

0 comments on commit 4c73c62

Please sign in to comment.