Skip to content

Commit 55152a2

Browse files
obcodeCopilot
andcommitted
docs: update configuration for merge request options and strategies
Co-authored-by: Copilot <copilot@github.com>
1 parent a913106 commit 55152a2

1 file changed

Lines changed: 22 additions & 9 deletions

File tree

docs/configuration.md

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ Patterns are **regular expressions**, so:
143143
| `description` | GitLab project description | `generated by glabs` | Visible in UI |
144144
| `accesslevel` | Initial project access (see below) | `developer` | Can be changed later with `setaccess` |
145145
| `containerRegistry` | Enable container registry | `false` | Auto-enabled if `release.dockerImages` set |
146-
| `mergeRequest.mergeMethod` | Merge strategy (see below) | `merge` | Applied at project creation |
147146
| `students` | Override/add assignment-specific students | — | Merged with course-level |
148147
| `groups` | Override/add assignment-specific groups | — | Merged with course-level |
149148

@@ -309,9 +308,29 @@ release:
309308
| `mergeRequest.pipeline` | Wait for CI | `false` | Require passing checks |
310309
| `dockerImages` | Images to build | `[]` | Creates container registry entries |
311310

312-
### Merge method values
311+
**Notes:**
312+
313+
- Container registry is auto-enabled when `dockerImages` is set
314+
- Enables GitLab Flow workflow for releases
315+
- Works with CI/CD pipeline to build/deploy
316+
317+
## Merge Request options
318+
319+
Control how merge requests are merged in every generated project:
320+
321+
```yaml
322+
<assignment>:
323+
mergeRequest:
324+
mergeMethod: merge # merge | semi_linear | ff
325+
```
313326

314-
The assignment-level `mergeRequest.mergeMethod` option controls how merge requests are merged in every generated project:
327+
### Merge Request keys
328+
329+
| Key | Purpose | Default | Notes |
330+
|---|---|---|---|
331+
| `mergeRequest.mergeMethod` | Merge strategy for all MRs | `merge` | Applied at project creation |
332+
333+
### Merge method values
315334

316335
| Value | GitLab UI name | Description |
317336
|---|---|---|
@@ -327,12 +346,6 @@ blatt01:
327346
mergeMethod: ff # Students must keep a linear history
328347
```
329348

330-
**Notes:**
331-
332-
- Container registry is auto-enabled when `dockerImages` is set
333-
- Enables GitLab Flow workflow for releases
334-
- Works with CI/CD pipeline to build/deploy
335-
336349
## Full example
337350

338351
```yaml

0 commit comments

Comments
 (0)