summaryrefslogtreecommitdiff
path: root/app/events/ci/pipeline_created_event.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/events/ci/pipeline_created_event.rb')
-rw-r--r--app/events/ci/pipeline_created_event.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/events/ci/pipeline_created_event.rb b/app/events/ci/pipeline_created_event.rb
index 8b971b63cea..2f2bee0903a 100644
--- a/app/events/ci/pipeline_created_event.rb
+++ b/app/events/ci/pipeline_created_event.rb
@@ -5,6 +5,7 @@ module Ci
def schema
{
'type' => 'object',
+ 'required' => ['pipeline_id'],
'properties' => {
'pipeline_id' => { 'type' => 'integer' }
}