Skip to content

Commit ceac1c6

Browse files
author
Alvaro Muñoz
committed
Do not scan JS files
1 parent fbaf329 commit ceac1c6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/action/dist/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28684,6 +28684,7 @@ async function codeqlDatabaseCreate(codeql) {
2868428684
}
2868528685
var database_path = path.join(temp, "codeql-actions-db");
2868628686
var source_root = codeql.source_root || process.env["GITHUB_WORKSPACE"] || "./";
28687+
source_root = path.join(source_root, "**", "*.yml");
2868728688
await runCommand(codeql, [
2868828689
"database",
2868928690
"create",

.github/action/src/codeql.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ export async function codeqlDatabaseCreate(
121121
var database_path = path.join(temp, "codeql-actions-db");
122122
var source_root =
123123
codeql.source_root || process.env["GITHUB_WORKSPACE"] || "./";
124+
source_root = path.join(source_root, "**", "*.yml");
124125

125126
await runCommand(codeql, [
126127
"database",

0 commit comments

Comments
 (0)