diff --git a/.drone.star b/.drone.star index d8b9c8ab3c..64a8c88581 100644 --- a/.drone.star +++ b/.drone.star @@ -198,7 +198,7 @@ def main(ctx): notify(ctx), ] - if ctx.build.cron != "": + if ctx.build.event == "cron": notify_pipelines = notify(ctx) notify_pipelines['depends_on'] = getTestPipelinesNames(ctx) pipelines = [ before, notify_pipelines ]