Skip to content

Commit 0a878d4

Browse files
committed
Support yAml extensions
1 parent 40635e6 commit 0a878d4

File tree

2 files changed

+1
-1
lines changed
  • javascript/ql
    • lib/semmle/javascript
    • test/query-tests/Security/CWE-094/ExpressionInjection/.github/workflows

2 files changed

+1
-1
lines changed

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-
.regexpMatch("(^|.*/)\\.github/workflows/.*\\.yml$")
19+
.regexpMatch("(^|.*/)\\.github/workflows/.*\\.y(?:a?)ml$")
2020
}
2121
}
2222

0 commit comments

Comments
 (0)