Skip to content

Fail danger if package-and-test pipeline is canceled

What does this MR do and why?

As part of extending the maintenance policy, the package-and-test pipeline execution should be enforced on stable branches. When this pipeline is manual or canceled, Danger should fail to indicate the MR author an action is required from them

This commit ensure Danger considers the downstream pipeline status, rather than the bridge status.

Related to gitlab-com/gl-infra/delivery#2839 (closed)

Screenshots or screen recordings

Before After
Screenshot_2023-03-01_at_13.11.29 Screenshot_2023-03-01_at_13.08.05
Danger / package-and-test Danger / package-and-test

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Mayra Cabrera

Merge request reports