Skip to content

Commit fc6eedd

Browse files
committed
generalize the file pattern for github/actions related YAML
1 parent bc470b8 commit fc6eedd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

javascript/ql/lib/semmle/javascript/Actions.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module Actions {
1616
this.getLocation()
1717
.getFile()
1818
.getRelativePath()
19-
.matches(["experimental/Security/CWE-094/.github/workflows/%", ".github/workflows/%"])
19+
.regexpMatch("(^|.*/)\\.github/workflows/.*\\.yml$")
2020
}
2121
}
2222

0 commit comments

Comments
 (0)