File tree Expand file tree Collapse file tree 1 file changed +30
-2
lines changed
Expand file tree Collapse file tree 1 file changed +30
-2
lines changed Original file line number Diff line number Diff line change 495495 "additionalProperties" : false ,
496496 "type" : " object"
497497 },
498+ "PushTriggerMapItemModelCommitsCondition" : {
499+ "oneOf" : [
500+ {
501+ "required" : [" pattern" ],
502+ "properties" : {
503+ "pattern" : {
504+ "type" : " string"
505+ },
506+ "last_commit" : {
507+ "type" : " boolean"
508+ }
509+ }
510+ },
511+ {
512+ "required" : [" regex" ],
513+ "properties" : {
514+ "regex" : {
515+ "type" : " string"
516+ },
517+ "last_commit" : {
518+ "type" : " boolean"
519+ }
520+ }
521+ }
522+ ],
523+ "additionalProperties" : false ,
524+ "type" : " object"
525+ },
498526 "PushTriggerModel" : {
499527 "properties" : {
500528 "enabled" : {
511539 },
512540 "commit_message" : {
513541 "oneOf" : [
514- { "$ref" : " #/definitions/TriggerMapItemModelRegexCondition " },
542+ { "$ref" : " #/definitions/PushTriggerMapItemModelCommitsCondition " },
515543 { "type" : " string" }
516544 ]
517545 },
518546 "changed_files" : {
519547 "oneOf" : [
520- { "$ref" : " #/definitions/TriggerMapItemModelRegexCondition " },
548+ { "$ref" : " #/definitions/PushTriggerMapItemModelCommitsCondition " },
521549 { "type" : " string" }
522550 ]
523551 }
You can’t perform that action at this time.
0 commit comments