Skip to content

Commit c91a172

Browse files
committed
chore: disable coderabbit requested changes workflow
1 parent f80f1dd commit c91a172

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.coderabbit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ reviews:
88
Do not suggest changes that alter existing APIs, interfaces, or behaviors.
99
review_details: true
1010
enable_prompt_for_ai_agents: true
11-
request_changes_workflow: true
11+
request_changes_workflow: false
1212
auto_review:
1313
enabled: true
1414
drafts: false

tests/unit/coderabbit-workflows.test.mjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { fileURLToPath } from 'url';
66
const __filename = fileURLToPath(import.meta.url);
77
const __dirname = path.dirname(__filename);
88
const projectRoot = path.resolve(__dirname, '..', '..');
9+
const coderabbitConfigPath = path.join(projectRoot, '.coderabbit.yaml');
910

1011
test('coderabbit autofix workflow is removed', () => {
1112
assert.strictEqual(
@@ -20,3 +21,9 @@ test('coderabbit review workflow is removed', () => {
2021
false
2122
);
2223
});
24+
25+
test('coderabbit requested changes workflow is disabled', () => {
26+
const config = fs.readFileSync(coderabbitConfigPath, 'utf8');
27+
assert.match(config, /request_changes_workflow:\s*false/);
28+
assert.doesNotMatch(config, /request_changes_workflow:\s*true/);
29+
});

0 commit comments

Comments
 (0)