Approval bugs in case of depends_on

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

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

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

1 Like