Skip to content

Commit 6446c4b

Browse files
author
Derek Smart
committed
validator has proper action list
Signed-off-by: Derek Smart <derek.smart@delphix.com>
1 parent ff268fc commit 6446c4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/delphix/yamlparser/Validator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class Validator(val contents: JsonNode) {
77
var currentPosition: String = ""
88
var errors = mutableListOf<String>()
99
val allowedEvents = listOf<String>("push", "pull-request-create", "pull-request-closed", "build-failure", "bookmark-complete")
10-
val allowedActions = listOf<String>("refresh", "create" ,"delete", "bookmark", "undo")
10+
val allowedActions = listOf<String>("datapod.refresh", "datapod.create", "bookmark.share", "datapod.delete", "bookmark.create", "datapod.undo")
1111

1212
fun getMessage(field:String): String {
1313
var message = "$currentPosition.$field"

0 commit comments

Comments
 (0)