Skip to content

CI workflow present

If nothing runs the tests on push, the tests are decoration.

Gate ID
ci_workflow_present
Severity
warning
Scope
Project root
Tags
project-hygienebuild

What it checks

At least one workflow under .github/workflows/ should exist so builds and tests run on push.

Looks for any of: a file under .github/workflows/, .gitlab-ci.yml, .circleci/, Jenkinsfile, and the other common pipeline entry points. One match anywhere is enough to satisfy the gate.

What a finding says

text
No CI pipeline found (.github/workflows/, .gitlab-ci.yml, .circleci/, Jenkinsfile, …). Add one so tests run on push and pull requests.

Turning it off

Silence the gate for the whole project in .l0git.json:

json
{
  "ignore": ["ci_workflow_present"]
}

Or keep it running at a lower severity:

json
{
  "severity": { "ci_workflow_present": "info" }
}

See also

Released under the MIT License. · Privacy & legal