Skip to content

Commit baa855b

Browse files
committed
OCM-23911 | chore: change coderabbit config to use inheritance
Signed-off-by: Amanda Hager Lopes de Andrade Katz <amanda.katz@redhat.com>
1 parent 6034c1d commit baa855b

3 files changed

Lines changed: 4 additions & 40 deletions

File tree

.coderabbit.yaml

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,5 @@
1-
---
2-
# CodeRabbit — terraform-rhcs-rosa-hcp (ROSA HCP only)
3-
# https://docs.coderabbit.ai/
4-
# Canonical policy: .cursor/rules/rosa-hcp-terraform.mdc, AGENTS.md,
5-
# CONTRIBUTING.md (avoid duplicating long rule text here).
6-
7-
language: en-US
8-
early_access: false
9-
1+
inheritance: true
102
reviews:
11-
profile: chill
12-
request_changes_workflow: true
13-
high_level_summary: true
14-
poem: false
15-
review_status: true
16-
collapse_walkthrough: false
17-
18-
auto_review:
19-
enabled: true
20-
drafts: false
21-
base_branches:
22-
- main
23-
ignore_title_keywords:
24-
- WIP
25-
- "Do Not Merge"
26-
273
path_filters:
284
- "!**/.terraform/**"
295
- "!**/terraform.tfstate*"
@@ -88,10 +64,6 @@ reviews:
8864
CI changes affect every PR: keep **make verify**, lint, and doc
8965
generation behavior consistent with **CONTRIBUTING.md**; avoid
9066
weakening checks without an explicit rationale in the PR.
91-
92-
abort_on_close: true
93-
auto_title_placeholder: "@coderabbitai"
94-
9567
tools:
9668
checkov:
9769
enabled: true
@@ -111,12 +83,3 @@ reviews:
11183
enabled: true
11284
yamllint:
11385
enabled: true
114-
115-
chat:
116-
auto_reply: true
117-
118-
knowledge_base:
119-
learnings:
120-
scope: auto
121-
issues:
122-
scope: auto

renovate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"description": "Manage bumping the version of the common bash library",
2020
"fileMatch": ["scripts/terraform-docs.sh$"],
2121
"matchStrings": [
22-
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s.*?TAG=(?<currentValue>.*)\\s"
22+
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s.*?VERSION=(?<currentValue>.*)\\s"
2323
],
2424
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
2525
}

scripts/terraform-docs.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ for d in . modules/* examples/*; do
2222
echo $d
2323
rm -rf $d/.terraform $d/.terraform.lock.hcl
2424
terraform-docs -c .terraform-docs.yml $d
25-
done
25+
done
26+

0 commit comments

Comments
 (0)