I'm looking for a way to get content of file after MR will be merged

I need to verify content of file(s) after MR will be merged. Looking for API/GraphQL/whatever…

Downloading file content from the default main branch can be achieved in multiple ways using python-gitlab. An example is shown in get_raw_file_content.py · main · Developer Evangelism at GitLab / use-cases / GitLab API / GitLab API with Python · GitLab

1 Like