From 943ba95924f967e7266b12f4507aaaa00e1000fc Mon Sep 17 00:00:00 2001 From: ascieux-soprasteria <88532951+ascieux-soprasteria@users.noreply.github.com> Date: Wed, 7 Aug 2024 16:00:12 +0200 Subject: [PATCH] Clarification on webhook URL for Gitlab --- docs/docs/installation/gitlab.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/installation/gitlab.md b/docs/docs/installation/gitlab.md index 3c73bd23..1d904d0f 100644 --- a/docs/docs/installation/gitlab.md +++ b/docs/docs/installation/gitlab.md @@ -55,7 +55,7 @@ WEBHOOK_SECRET=$(python -c "import secrets; print(secrets.token_hex(10))") - In the [gitlab] section, fill in personal_access_token and shared_secret. The access token can be a personal access token, or a group or project access token. - Set deployment_type to 'gitlab' in [configuration.toml](https://github.com/Codium-ai/pr-agent/blob/main/pr_agent/settings/configuration.toml) -5. Create a webhook in GitLab. Set the URL to the URL of your app's server. Set the secret token to the generated secret from step 2. +5. Create a webhook in GitLab. Set the URL to ````http[s]:///webhook````. Set the secret token to the generated secret from step 2. In the "Trigger" section, check the ‘comments’ and ‘merge request events’ boxes. -6. Test your installation by opening a merge request or commenting or a merge request using one of CodiumAI's commands. \ No newline at end of file +6. Test your installation by opening a merge request or commenting or a merge request using one of CodiumAI's commands.