# Approval bugs in case of depends\_on

**URL:** <https://drone.discourse.group/t/approval-bugs-in-case-of-depends-on/8960>\
**Category:** Drone Bugs\
**Created:** [May 28, 2020, 7:26am UTC](https://drone.discourse.group/t/approval-bugs-in-case-of-depends-on/8960 "2020-05-28T07:26:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![biblesyme](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/biblesyme/32/5644_2.png) [@biblesyme](https://drone.discourse.group/u/biblesyme)\
**Post date:** [May 28, 2020, 7:26am UTC](https://drone.discourse.group/t/approval-bugs-in-case-of-depends-on/8960/1 "2020-05-28T07:26:42Z")

</div>

Version : drone/drone:1.7.0  
runner: drone/drone-runner-docker:1.3

**Precondition** : I have a config with two pipelines and the second one is depending on the first one,  
If I set this repository as protected. Then when I changed the pipeline for the first time, the drone will ask for approval to run them.

**Result** : **In this case, If the first pipeline fails, I approve the second pipeline after that, the second pipeline will start running even though it is set to depend on the first one**  
Here is the bug case on-line:  
[https://cloud.drone.io/biblesyme/hello-world/4](https://cloud.drone.io/biblesyme/hello-world/4)

**Expected Result** : The second pipeline should be skipped.  
This is the expected result when I rerun it  
Here is the case on line:  
[https://cloud.drone.io/biblesyme/hello-world/5](https://cloud.drone.io/biblesyme/hello-world/5)

---

<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:** [May 28, 2020, 3:49pm UTC](https://drone.discourse.group/t/approval-bugs-in-case-of-depends-on/8960/2 "2020-05-28T15:49:32Z")

</div>

Thanks for the report. We’ve added this to our internal tracker to research and patch for our next release. [https://trello.com/c/mNsvo0FM/69-research-bug-where-declining-the-pipeline-executes-subsequent-dependent-pipelines](https://trello.com/c/mNsvo0FM/69-research-bug-where-declining-the-pipeline-executes-subsequent-dependent-pipelines)
