# Feature: Allow pipeline level conditionals

**URL:** <https://drone.discourse.group/t/feature-allow-pipeline-level-conditionals/7839>\
**Category:** Drone Support\
**Created:** [April 17, 2019, 2:14pm UTC](https://drone.discourse.group/t/feature-allow-pipeline-level-conditionals/7839 "2019-04-17T14:14:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zapman449](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/zapman449/32/5988_2.png) [@zapman449](https://drone.discourse.group/u/zapman449)\
**Post date:** [April 17, 2019, 2:14pm UTC](https://drone.discourse.group/t/feature-allow-pipeline-level-conditionals/7839/1 "2019-04-17T14:14:01Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![bradrydzewski](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/bradrydzewski/32/3513_2.png) [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Post date:** [April 17, 2019, 3:34pm UTC](https://drone.discourse.group/t/feature-allow-pipeline-level-conditionals/7839/2 "2019-04-17T15:34:13Z")

</div>

Drone supports Pipeline-level conditions called `triggers`. See [https://docs.drone.io/user-guide/pipeline/triggers/](https://docs.drone.io/user-guide/pipeline/triggers/)
