mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
generalize the file pattern for github/actions related YAML
This commit is contained in:
@@ -16,7 +16,7 @@ module Actions {
|
||||
this.getLocation()
|
||||
.getFile()
|
||||
.getRelativePath()
|
||||
.matches(["experimental/Security/CWE-094/.github/workflows/%", ".github/workflows/%"])
|
||||
.regexpMatch("(^|.*/)\\.github/workflows/.*\\.yml$")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user