zuul/tests
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
..
fixtures Handle review requirements in canMerge 2020-09-03 19:08:20 +02:00
nodepool Add caching of autohold requests 2019-09-16 10:46:36 -04:00
remote Block localhost shell tasks in untrusted playbooks 2020-07-21 19:18:10 +02:00
unit Handle review requirements in canMerge 2020-09-03 19:08:20 +02:00
__init__.py Add non-voting jobs. 2012-08-23 23:20:09 +00:00
base.py Exercise github auth handling in tests 2020-09-03 13:50:33 +02:00
encrypt_secret.py Make tests' encrypt_secret.py work with python3 2017-10-19 18:09:57 +00:00
fake_graphql.py Handle review requirements in canMerge 2020-09-03 19:08:20 +02:00
fakegithub.py Handle review requirements in canMerge 2020-09-03 19:08:20 +02:00
make_playbooks.py Use libyaml if possible 2017-04-04 11:49:05 -07:00
print_layout.py Do not add implied branch matchers in project-templates 2017-09-30 10:19:07 -07:00