Files
zuul/releasenotes/notes/github-review-requirement-874b2dd8c6fa1292.yaml
Tobias Henkel b2f6d48cc5 Handle review requirements in canMerge
Since GitHub 2.21 we now can query the reviewDecision flag on a PR
which tells us if a review is required and if it's approved or not
[1]. This can be leveraged in the canMerge check so we now finally can
accurately check if a change is allowed to enter the gate.

[1] https://developer.github.com/enterprise/2.21/v4/object/pullrequest/

Change-Id: I792a28b9f3c7d40ac21e22438bd7c09d3174cbb2
2020-09-03 19:08:20 +02:00

7 lines
191 B
YAML

---
features:
- |
Zuul now respects GitHub review requirements when enqueuing into gate
pipelines. This works for github.com and GitHub Enterprise starting with
version 2.21.0.