File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -105,19 +105,15 @@ NOTE: similar code will only work correctly if you run a diff on all the files i
105
105
106
106
Example:
107
107
108
+ .codeclimate_diff.yml
109
+
108
110
```rb
109
- CodeclimateDiff.configure do |config|
110
- config.gitlab = {
111
- main_branch_name: "main", # Required. Defaults to "main"
112
- project_id: 123, # Required. Gitlab's Project ID. Defaults nil.
113
- host: "https://org.gitlab.org", # Required. Gitlab's Host. e.g. https://org.gitlab.org. Defaults nil.
114
- personal_access_token: ENV["GITLAB_PERSONAL_ACCESS_TOKEN"] # Required. Your personal access token. Defaults nil.
115
- }
116
-
117
- config.github = {
118
- # TODO: Add GitHub requirements
119
- }
120
- end
111
+ gitlab:
112
+ main_branch_name: main
113
+ download_baseline_for_pipeline: true
114
+ project_id: '..'
115
+ host: https://gitlab.digitalnz.org/
116
+ personal_access_token: <LOAD FROM ENV VARIABLE>
121
117
```
122
118
123
119
## Development
You can’t perform that action at this time.
0 commit comments