Process only .github/workflows yaml files

This commit is contained in:
Alvaro Muñoz
2024-02-08 11:52:14 +01:00
parent 0398fbd0d7
commit da2ac2af03

View File

@@ -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"]
)
)
}