Skip to content

Commit da2ac2a

Browse files
author
Alvaro Muñoz
committed
Process only .github/workflows yaml files
1 parent 0398fbd commit da2ac2a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ql/lib/codeql/actions/ast/internal/Actions.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ module Actions {
1919
f = this.getLocation().getFile() and
2020
(
2121
f.getRelativePath().regexpMatch("(^|.*/)\\.github/workflows/.*\\.ya?ml$") or
22-
f.getBaseName() = ["action.yml", "action.yaml"] or
23-
// ALVARO: Add any yaml files temporary for development
24-
f.getExtension() = ["yml", "yaml"]
22+
f.getBaseName() = ["action.yml", "action.yaml"]
2523
)
2624
)
2725
}

0 commit comments

Comments
 (0)