Skip to content

Commit 4c73c62

Browse files
authored
Merge pull request github#17867 from github/dbartol/actions-build
Add the Actions extractor to the build
2 parents b00bbc9 + b07642b commit 4c73c62

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

actions/BUILD.bazel

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
load("//misc/bazel:pkg.bzl", "codeql_pack")
2+
3+
package(default_visibility = ["//visibility:public"])
4+
5+
[
6+
codeql_pack(
7+
name = "-".join(parts),
8+
srcs = [
9+
"//actions/extractor",
10+
],
11+
pack_prefix = "/".join(parts),
12+
)
13+
for parts in (
14+
[
15+
"experimental",
16+
"actions",
17+
],
18+
["actions"],
19+
)
20+
]

actions/extractor/BUILD.bazel

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
load("//misc/bazel:pkg.bzl", "codeql_pkg_files", "strip_prefix")
2+
3+
codeql_pkg_files(
4+
name = "extractor",
5+
srcs = [
6+
"codeql-extractor.yml",
7+
] + glob(["tools/**"]),
8+
strip_prefix = strip_prefix.from_pkg(),
9+
visibility = ["//actions:__pkg__"],
10+
)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
| .github/workflows/shell.yml:0:0:0:0 | .github/workflows/shell.yml | File |
1+
| .github/workflows/shell.yml:0:0:0:0 | .github/workflows/shell.yml | Analyzed a file. |

0 commit comments

Comments
 (0)