generalize the file pattern for github/actions related YAML

This commit is contained in:
Erik Krogh Kristensen
2022-05-03 12:23:13 +02:00
parent bc470b89f1
commit fc6eedd07a

View File

@@ -16,7 +16,7 @@ module Actions {
this.getLocation()
.getFile()
.getRelativePath()
.matches(["experimental/Security/CWE-094/.github/workflows/%", ".github/workflows/%"])
.regexpMatch("(^|.*/)\\.github/workflows/.*\\.yml$")
}
}