Skip to content

Test job's coverage upload fails: Code quality not enabled for this repository #21

Description

@Mearman

Every run of the Test job's coverage-upload step fails with an HTTP 403: Coverage upload failed: Code quality is not enabled for this repository. Enable code quality in your repository settings. Confirmed pre-existing — the same two annotations already appeared on the 32fc584 main run, before any of this session's changes, so this isn't a regression from a recent merge.

The job itself still passes (the action treats it as an annotation, not a failure), but the annotation is real noise on every run. Two ways to resolve, either is a repo-owner decision rather than a code change:

  1. Enable GitHub's Code quality feature for this repository (Settings > Code security and analysis), so the coverage upload actually has somewhere to land.
  2. If coverage-upload isn't wanted, add fail-on-error: false to the upload step (or drop the step entirely) so it stops annotating every run.

Link: https://docs.github.com/en/code-security/how-tos/maintain-quality-code/set-up-code-coverage

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions