mirror of
https://github.com/ossf/scorecard.git
synced 2024-09-11 00:45:36 +03:00
With our current upload setup, it will always show a drop of 6-7%. This is confusing to contributors, so make the check always pass. Also fixes the threshold for the patch coverage. Signed-off-by: Spencer Schrock <sschrock@google.com>
46 lines
920 B
YAML
46 lines
920 B
YAML
---
|
|
codecov:
|
|
notify:
|
|
after_n_builds: 1
|
|
require_ci_to_pass: yes
|
|
|
|
ignore:
|
|
- "**/*.pb.go"
|
|
- "cron/**/*"
|
|
- "clients/mockclients/**/*"
|
|
# ignoring them as these are internal tools for generating docs.
|
|
- "docs/**/*"
|
|
# this is the runner
|
|
- "main.go"
|
|
# this package is deprecated and going to be removed.
|
|
- "dependencydiff/**/*"
|
|
|
|
coverage:
|
|
precision: 2
|
|
round: down
|
|
range: 50..75
|
|
|
|
status:
|
|
project:
|
|
default:
|
|
informational: true
|
|
if_not_found: success
|
|
if_no_uploads: success
|
|
if_ci_failed: error
|
|
patch:
|
|
default:
|
|
# patch coverage should be within 10% of existing coverage
|
|
target: auto
|
|
threshold: 10%
|
|
if_not_found: success
|
|
if_no_uploads: success
|
|
if_ci_failed: error
|
|
changes: false
|
|
|
|
comment:
|
|
layout: "header, diff"
|
|
behavior: default
|
|
require_changes: false
|
|
github_checks:
|
|
annotations: true
|