From bc8c0b79561c8ce6c4d4459952345226ede20533 Mon Sep 17 00:00:00 2001 From: Alessandro Gorla Date: Wed, 7 Oct 2026 18:18:54 +0200 Subject: [PATCH] fix(frontend): replace GitHub webhook error copy with GitLab guidance The link-repo failure message still mentioned admin:repo_hook; point users to api scope, Maintainer/Owner, and a reachable PUBLIC_URL instead. --- frontend/src/GitLabSettingsTab.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/GitLabSettingsTab.tsx b/frontend/src/GitLabSettingsTab.tsx index 7b91c94..a299de1 100644 --- a/frontend/src/GitLabSettingsTab.tsx +++ b/frontend/src/GitLabSettingsTab.tsx @@ -443,7 +443,7 @@ function AddRepoDialog({ } if (code === ErrorCode.GitLabWebhookCreationFailed) { setError( - "Could not create the webhook. Make sure your token has the admin:repo_hook scope and you have admin access to the repository.", + "Could not create the webhook. Ensure the token has the api scope, you have Maintainer/Owner on the project, and PUBLIC_URL is a public HTTPS URL GitLab can reach.", ); return; } @@ -453,7 +453,7 @@ function AddRepoDialog({ } if (code === ErrorCode.GitLabRepoNotAccessible) { setError( - "Repository not found or not accessible. Check that your token has the repo scope.", + "Repository not found or not accessible. Check that your token has the api scope.", ); return; }