Change the way checks are triggered
Fixed: misc:10
Change-Id: Ic86ddef7fb6bd4ffd21bda6758589b1fa6da0cf6
diff --git a/zuul.d/pipelines.yaml b/zuul.d/pipelines.yaml
index 0a23d2c..17684a8 100644
--- a/zuul.d/pipelines.yaml
+++ b/zuul.d/pipelines.yaml
@@ -9,6 +9,10 @@
gerrit:
- event: pending-check
scheme: 'zuul-check'
+ username: '^avm99963$'
+ - event: comment-added
+ approval:
+ Commit-Queue: 1
enqueue:
gerrit:
comment: False
@@ -26,6 +30,7 @@
no-jobs:
gerrit:
comment: False
+ Commit-Queue: 0
Verified: 1
checks-api:
scheme: 'zuul-check'
@@ -34,6 +39,7 @@
dequeue:
gerrit:
comment: False
+ Commit-Queue: 0
checks-api:
scheme: 'zuul-check'
state: NOT_RELEVANT
@@ -41,6 +47,7 @@
success:
gerrit:
comment: False
+ Commit-Queue: 0
Verified: 1
checks-api:
scheme: 'zuul-check'
@@ -49,6 +56,7 @@
failure:
gerrit:
comment: True
+ Commit-Queue: 0
Verified: -1
checks-api:
scheme: 'zuul-check'