coverage:
  status:
    project:
      default:
        # basic
        target: auto
        threshold: 2% # allow cov to drop by 2% (just in case)
    patch:
      default:
        threshold: 1% # allow patch

ignore:
  - "**/*.yaml"                   # ignore all yaml files (Kubernetes manifests, etc...)
  - "**/*.yml"                    # same as above
  - "**/*.md"                     # ignore all markdown files, those are not relevant for building/testing
  - "**/Dockerfile"               # ignore Dockerfiles, those are build with GH Actions
  - "**/*.sh"                     # ignore shell scripts
  - "**/test_utils.go"            # test utils don't need to be covered
  - "**/zz_generated.deepcopy.go" # auto-generated deepcopy files for CRD structs

comment:
  layout: "diff, files, flags"

github_checks:
  annotations: false

flags:
  keptn-lifecycle-operator:
    paths:
      - lifecycle-operator/
    carryforward: true
  component-tests:
    paths:
      - lifecycle-operator/
    carryforward: true
