File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -11,18 +11,19 @@ for security vulnerabilities and code quality issues.
11
11
12
12
Semgrep uses a YAML style configuration file.
13
13
14
- > Due to licensing it doesn't ship with the
15
- > [ community-created Semgrep rules] ( https://github.com/returntocorp/semgrep-rules ) ,
16
- > but you're free to use these in your own project.
17
-
18
14
Semgrep supports the following config files:
19
15
20
16
- User-defined config file set at ` reviews.tools.semgrep.config_file ` in your
21
17
project's ` .coderabbit.yaml ` file or setting the "Review → Tools → Semgrep →
22
18
Config File" field in CodeRabbit's settings page.
23
19
24
- > ** NOTE: If you do not set a config file in your ` .coderabbit.yaml ` or config
25
- > UI then semgrep will not be run.**
20
+ > Due to licensing it doesn't ship with the
21
+ > [ community-created Semgrep rules] ( https://github.com/returntocorp/semgrep-rules ) ,
22
+ > but you're free to use these in your own project.
23
+
24
+ > ** NOTE: CodeRabbit will only run Semgrep if your repository contains a Semgrep
25
+ > config file. In addition you must also define the path to this file in
26
+ > ` .coderabbit.yaml ` or config UI.**
26
27
27
28
## Links
28
29
You can’t perform that action at this time.
0 commit comments