mirror of
https://github.com/github/codeql.git
synced 2025-12-28 14:46:33 +01:00
Process only .github/workflows yaml files
This commit is contained in:
@@ -19,9 +19,7 @@ module Actions {
|
||||
f = this.getLocation().getFile() and
|
||||
(
|
||||
f.getRelativePath().regexpMatch("(^|.*/)\\.github/workflows/.*\\.ya?ml$") or
|
||||
f.getBaseName() = ["action.yml", "action.yaml"] or
|
||||
// ALVARO: Add any yaml files temporary for development
|
||||
f.getExtension() = ["yml", "yaml"]
|
||||
f.getBaseName() = ["action.yml", "action.yaml"]
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user