Spammy PR comments

Description

I have a Jenkins pipeline who ran the codecov command in a python application every time the tests run. In my .codecov.yml, I had set the comment behaviour to default, that should be updating the first codecov comment, but instead he is comment new reports every time. I have PRs with more than 25 comments and even with require_changes set to true, he still comments even with no coverage changes (i.e. updated README.md)

I’ve trying using comment behaviour set to new, default and even with no comment section in the .codeco.yml. Nothing has worked.

.codecov.yml:

# https://docs.codecov.io/docs/codecov-yaml
codecov:
  max_report_age: off
  notify:
    require_ci_to_pass: yes
comment:
  layout: "reach, diff, files"
  behavior: new
  require_changes: true  # if true: only post the comment if coverage changes
  require_base: no        # [yes :: must have a base report to post]
  require_head: yes       # [yes :: must have a head report to post]
  branches: null          # branch names that can post comment
coverage:
  precision: 2
  round: down
  range: "80...100"
  status:
    project:
      default: false  # disable the default status that measures entire project
      tests:  # declare a new status context "tests"
        target: 80%  # we always want 100% coverage here

Repository

Private.

Versions

Google Chrome Versão 74.0.3729.169 64 bits
codecov 2.0.15 (python package)

EDIT: Add yaml file