-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample-config-gitlab.yaml
More file actions
79 lines (72 loc) · 1.59 KB
/
example-config-gitlab.yaml
File metadata and controls
79 lines (72 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Example Mergebot configuration for GitLab
#
# Replace ${...} placeholders with your actual values or environment-variable
# references before running Mergebot.
llm:
model: gpt-4o-mini
repository:
type: gitlab
gitlab:
url: https://gitlab.com
private_token: ${GITLAB_PERSONAL_ACCESS_TOKEN}
base_branch: main
projects:
- path: my-group/platform/iac-core
webhook:
secret: ${IAC_CORE_WEBHOOK_SECRET}
overrides:
analysis:
max_mrs: 5
draft_mrs: false
merge:
enabled: true
threshold: 2.0
strategy: merge
rules:
ci_passed: true
ci_strict: true
branch_prefixes:
- feature/
- hotfix/
- path: my-group/platform/iac-networking
overrides:
crews:
CodeAnalysis:
llm:
model: gpt-4o-mini
approval_policy:
threshold: 2.5
weights:
CodeAnalysis: 0.4
ComplexityAnalysis: 0.2
TestAnalysis: 0.2
RiskAnalysis: 0.2
crews:
CodeAnalysis:
llm:
model: gpt-4o-mini
ImpactEvaluator:
llm:
model: gpt-4o-mini
approval_policy:
threshold: 3.0
weights:
CodeAnalysis: 0.4
ComplexityAnalysis: 0.2
TestAnalysis: 0.2
RiskAnalysis: 0.2
analysis:
max_mrs: 10
draft_mrs: false
merge:
enabled: false
threshold: null
strategy: repo_default
rules:
ci_passed: true
ci_strict: false
no_changes_requested: true
mergeable: true
approval_state: true
telemetry:
enabled: false