diff options
author | Andrew Lewis <nerf@judo.za.org> | 2023-09-29 22:13:17 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2023-09-29 22:19:29 +0200 |
commit | 23e831d4bb81ef2b1ef415bcbd17856fd72d210e (patch) | |
tree | 697cdc59f6827da87a1422956da57692f1056f94 /.drone.jsonnet | |
parent | a166379c3f435dc642cd089a5a00111f343b12e0 (diff) | |
download | rspamd-23e831d4bb81ef2b1ef415bcbd17856fd72d210e.tar.gz rspamd-23e831d4bb81ef2b1ef415bcbd17856fd72d210e.zip |
[Test] Skip notification on pull requests
Diffstat (limited to '.drone.jsonnet')
-rw-r--r-- | .drone.jsonnet | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/.drone.jsonnet b/.drone.jsonnet index 0f453343c..694a63ef2 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -3,14 +3,15 @@ local docker_pipeline = { type: 'docker', }; +local default_trigger_events_ex_pr = [ + 'push', + 'tag', + 'custom', +]; + local default_trigger = { trigger: { - event: [ - 'push', - 'tag', - 'pull_request', - 'custom', - ], + event: default_trigger_events_ex_pr + ['pull_request'], }, }; @@ -66,6 +67,7 @@ local notify_pipeline = { }, ], trigger: { + event: default_trigger_events_ex_pr, status: [ 'failure', ], |