Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (16 sloc) 393 Bytes
package main
deny[msg] {
input.provider.runtime = "python2.7"
msg = "Python 2.7 cannot be the default provider runtime"
}
runtime[name] {
input.functions[i].runtime = name
}
deny[msg] {
runtime["python2.7"]
msg = "Python 2.7 cannot be used as the runtime for functions"
}
deny[msg] {
not has_field(input.provider.tags, "author")
msg = "Should set provider tags for author"
}
You can’t perform that action at this time.