]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use approve button workflow in danger CI
authorTom Krizek <tkrizek@isc.org>
Fri, 4 Nov 2022 12:05:29 +0000 (13:05 +0100)
committerTom Krizek <tkrizek@isc.org>
Tue, 8 Nov 2022 13:34:56 +0000 (14:34 +0100)
commite901342dd9b2636c00948efa3ec09d1f5e9e71cc
treec9505f54c0d60c002746fa5278ab0ad4b82eea58
parent0f46bcc86ed5e4c848ab207a42989e8be9ac3afe
Use approve button workflow in danger CI

Since the LGTM label was deprecated in favor of using the Approve button
in gitlab, adjust the detection in danger bot.

Unfortunately, danger-python seems no longer maintained since 2020 and
MR approvals aren't available in its Python API (even though they're
supported in its Ruby/JS APIs). Going forward, let's use the more
comprehensive python-gitlab API.

It still makes sense to utilize the danger-python, since it handles the
integration with gitlab which doesn't need to be reimplemented as long
as it works - same with the other checks.
dangerfile.py