Github_checks annotations in YAML is not working

Description

According to this doc we can disable annotation by specifying github_checks.

Even with that configuration I’m still seeing annotation in the github PR compare section.

Repository

it’s a private repo, please PM me if you need more info

CI/CD

circleCI

Uploader

bash uploader

Commit SHAs

59aeb2217257ee9b28a2921f577ecef29f7a1808

Codecov YAML

codecov:
  notify:
    require_ci_to_pass: no
    require_changes: false

comment:
  layout: "diff, files"

coverage:
  round: down
  range: '45...95'
  status:
    project:
      default:
        target: 85%
        if_ci_failed: error
    patch:
      default:
        target: 50%
        if_ci_failed: error
    changes: yes

github_checks:
  annotations: false

Codecov Output

DONE 72 tests in 3.308s

  _____          _
 / ____|        | |
| |     ___   __| | ___  ___ _____   __
| |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| |  __/ (_| (_) \ V /
 \_____\___/ \__,_|\___|\___\___/ \_/
                              Bash-20200825-997b141


==> Circle CI detected.
    project root: .
--> token set from env
    Yaml found at: .github/codecov.yml
    -> Found 1 reports
==> Detecting git/mercurial file structure
==> Reading reports
    + profile.out bytes=67768
==> Appending adjustments
    https://docs.codecov.io/docs/fixing-reports
    + Found adjustments
==> Gzipping contents
==> Uploading reports
    url: https://codecov.io
    query: branch=*********278&commit=59aeb2217257ee9b28a2921f577ecef29f7a1808&build=1448&build_url=&name=&tag=&slug=**********%2F**********-be&service=circleci&flags=&pr=&job=0&cmd_args=f
->  Pinging Codecov
https://codecov.io/upload/v4?package=bash-20200825-997b141&token=secret&branch=******278&commit=59aeb2217257ee9b28a2921f577ecef29f7a1808&build=1448&build_url=&name=&tag=&slug=**********%2F************&service=circleci&flags=&pr=&job=0&cmd_args=f
->  Uploading to
https://storage.googleapis.com/codecov/v4/raw/2020-09-03/574DEDB57D2CD81FC04C26DA0DB7CFAC/59aeb2217257ee9b28a2921f577ecef29f7a1808/0c69628e-6679-4fd6-a518-b03b24753d3c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=**********Faws4_request&X-Amz-Date=20200903T154031Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=597fb267881fb6219b6c100f79801ad4e9d979a18782f9ce6f718579b23c2f01
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 11602    0     0  100 11602      0  64455 --:--:-- --:--:-- --:--:-- 64815
    -> View reports at https://codecov.io/github/*******/**********/commit/59aeb2217257ee9b28a2921f577ecef29f7a1808

CircleCI received exit code 0

Hi @yul, looks like it didn’t respect the github_checks because the YAML is invalid.

require_changes is a field under comment as shown here.

Thank you for the support, after moving that line to correct position, i don’t see any annotation anymore.

1 Like