Feature: Allow pipeline level conditionals

I’m converting a drone system from 0.8 to 1.0rc6, and going to multi-machine / multi-pipeline as I go.

One thing I’m noticing is the drone.yml file is going get a LOT longer in this process…

Could we add when as a “pipeline level” construct? The when clause would then apply to all steps within that pipeline. This would help DRY up users drone.yml files.

Drone supports Pipeline-level conditions called triggers. See https://docs.drone.io/user-guide/pipeline/triggers/