We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5aa7135 commit 891a94cCopy full SHA for 891a94c
javascript/ql/lib/semmle/javascript/Actions.qll
@@ -18,7 +18,7 @@ module Actions {
18
(
19
f.getRelativePath().regexpMatch("(^|.*/)\\.github/workflows/.*\\.ya?ml$")
20
or
21
- f.getBaseName() = "action.yml"
+ f.getBaseName() = ["action.yml", "action.yaml"]
22
)
23
24
}
@@ -30,7 +30,7 @@ module Actions {
30
*/
31
class CompositeAction extends Node, YamlDocument, YamlMapping {
32
CompositeAction() {
33
- this.getFile().getBaseName() = "action.yml" and
+ this.getFile().getBaseName() = ["action.yml", "action.yaml"] and
34
this.lookup("runs").(YamlMapping).lookup("using").(YamlScalar).getValue() = "composite"
35
36
0 commit comments