pub fn is_ci() -> bool
Returns true when the process runs in CI.
true
The check is presence-only: CI, GITHUB_ACTIONS or GITLAB_CI set to any value (also an empty value) marks a CI run.
CI
GITHUB_ACTIONS
GITLAB_CI