Skip to content

codecov uploads in github actions failing with nonsense error message #613

Description

@grahamgower

Failing codecov upload error:

error - 2026-03-29 06:27:23,460 -- Upload queued for processing failed: {"message":"Token required because branch is protected"}
==> Failed to run upload-coverage
    Exiting...
Error: Process completed with exit code 1.

From: https://github.com/popsim-consortium/demes-python/actions/runs/23687904960/job/69050561796#step:7:359

This is total crap, because

  1. we're using a token, and
  2. we don't have any branch protection rules (unless dependabot branches are funny somehow?)

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