Update GitLab configuration and documentation for webhook setup

This commit is contained in:
mrT23
2024-02-21 09:20:28 +02:00
parent 0e3417b4ab
commit 275f0d6a05
3 changed files with 18 additions and 12 deletions

View File

@ -32,7 +32,7 @@ def handle_request(background_tasks: BackgroundTasks, url: str, body: str, log_c
async def _perform_commands_gitlab(commands_conf: str, agent: PRAgent, body: dict, api_url: str, log_context: dict):
apply_repo_settings(api_url)
commands = get_settings().get(f"azure_devops_server.{commands_conf}")
commands = get_settings().get(f"gitlab.{commands_conf}")
for command in commands:
split_command = command.split(" ")
command = split_command[0]