From cb28389b1d7bb78c10a1215eac70966ffb41361c Mon Sep 17 00:00:00 2001 From: Nathan Schneider Date: Wed, 19 Aug 2026 17:04:22 +0000 Subject: [PATCH] Updated GitLab access token docs --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 81d7936..b9734ad 100644 --- a/README.md +++ b/README.md @@ -57,8 +57,10 @@ We will use Gitea (git.medlab.host) as the external repository and GitLab for CI 2. **Configure Gitea Repository Mirroring** - From your Gitea repo go to: `Settings > Repository > Mirror Settings` - Add your GitLab repository URL (ending in .git) - - Add GitLab user credentials under Authorization (use a personal access token created in the account settings) + - Use "oauth2" as the username + - Generate a personal access token in GitLab scoped to "Code: Push" and use that as password - Check "Sync when commits are pushed" and disable Mirror Interval + - Set Mirror Interval to "0" 3. **Set Required Variables on GitLab** - Get an access token from the Surfer server by going to `/_admin` and getting the "Access Tokens" dialog from the three-dot menu