Set of automation scripts to find out useful information about gitlab project and automate actions.
Python version 3.7 or higher
Gitlab - https://python-gitlab.readthedocs.io/en/stable/ \ colorama - https://pypi.org/project/colorama/
INSTALLATION
pip install python-gitlab
pip install colorama
create a config.json file on the project root folder.
JSON file contents
{
"project_id": <project-id>,
"PAT": "<gitlab-personal-access-token>"
}
This script will check if the merge request has the minimum number of approves.
This script will check, if all open merge requests for a particular user (username provided by user) is in correct label or not.
This script will scan through all assigned issues for a particular user (username provided by user) and find out whether all the issues and their related merge requests are in correct label or not.