Skip to content

Commit 037b5fc

Browse files
committed
chore: add logging around MR creation/merging
Signed-off-by: Tim Knight <tim.knight1@engineering.digital.dwp.gov.uk>
1 parent 32cc184 commit 037b5fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/functional/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,8 @@ def _make_merge_request(*, source_branch: str, create_pipeline: bool = False):
425425
}
426426
)
427427

428-
approval_rules = project.approvals.list()
428+
# Helps with Debugging why MRs fail to merge resulting in 405 from downstream tests
429+
approval_rules = project.approvalrules.list()
429430
logging.info(f"MR Approval Rules {approval_rules}")
430431

431432
if create_pipeline:

0 commit comments

Comments
 (0)