reference Environment variables

CI

Value
any value; false and 0 are treated as unset
See also
--no-progress-bar

Set by CI services in the environment of the jobs they run. When it is set, opengrep scan does not draw the status line that shows the progress of the scan, even on a terminal. The values false and 0 are treated as unset, in any letter case.

The variable has no other effect: opengrep ci detects the CI service from the service's own variables. It has no OPENGREP_ form.

Examples

A scan on a terminal, as a CI job

Command
$ CI=true opengrep scan -q --config rule.yaml .