You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/RELEASE_BRANCHES.md
+1-16Lines changed: 1 addition & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,22 +31,7 @@ A GitHub ruleset already protects all branches matching `release/**` with the sa
31
31
32
32
### 3. GitLab mirror
33
33
34
-
The GitLab mirror at `gitlab.cee.redhat.com/rhel-lightspeed/enhanced-shell/okp-mcp` pulls from GitHub. It must be configured to include release branches.
35
-
36
-
To update the mirror regex:
37
-
38
-
1. Go to GitLab repo **Settings > Repository > Mirroring repositories**
39
-
2. Delete the existing mirror rule (it can't be edited in-place)
40
-
3. Create a new Pull mirror with:
41
-
-**Git repository URL**: `https://github.com/rhel-lightspeed/okp-mcp.git` (must end in `.git`)
42
-
-**Mirror direction**: Pull
43
-
-**Mirror branches**: Mirror specific branches
44
-
-**Branch regex**: `(main|release\/.*)`
45
-
-**Overwrite diverged branches**: checked
46
-
-**Trigger pipelines for mirror updates**: checked
47
-
4. Click **Mirror repository**
48
-
5. Click the sync button (🔄) to trigger an immediate pull
49
-
6. Verify the release branch appears in the GitLab branch dropdown
34
+
The GitLab mirror at `gitlab.cee.redhat.com/rhel-lightspeed/enhanced-shell/okp-mcp` automatically pulls `main` and any branch matching `release/*` from GitHub. New release branches will appear on GitLab after the next mirror sync (typically within minutes).
50
35
51
36
**Note:** "Mirror only protected branches" does not reliably detect GitHub ruleset-based protection. Use "Mirror specific branches" with a regex instead.
0 commit comments