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 c29a04d commit ddedf1eCopy full SHA for ddedf1e
checks/raw/dangerous_workflow_test.go
@@ -76,6 +76,16 @@ func TestUntrustedContextVariables(t *testing.T) {
76
variable: "github.event.commits[0].id",
77
expected: false,
78
},
79
+ {
80
+ name: "commits author name",
81
+ variable: "github.event.commits[2].author.name",
82
+ expected: true,
83
+ },
84
85
+ name: "commits author email",
86
+ variable: "github.event.commits[2].author.email",
87
88
89
}
90
for _, tt := range tests {
91
t.Run(tt.name, func(t *testing.T) {
0 commit comments