Skip to content

Maintenance: Fix codecov upload - missing token #4681

Closed

Description

@hjgraca

Why is this needed?

After Codecov v4 release a token is required to upload the reports. Currently is working only of forked pull request, but failing on other pull requests.
Docs: https://github.com/codecov/codecov-action
image

Error: https://github.com/aws-powertools/powertools-lambda-python/actions/runs/9773715912/job/26980442993#step:12:40

image

Which area does this relate to?

Automation

Solution

Docs https://about.codecov.io/blog/january-product-update-updating-the-codecov-ci-uploaders-to-the-codecov-cli/

  • add token to quality_check codecov upload here
  • Add CODECOV_TOKEN secret to GitHub secrets

Acknowledgment

Activity

  1. added
    triagePending triage from maintainers
    internalMaintenance changes
    on Jul 3, 2024
  2. github-actions commented on Jul 4, 2024

    @github-actions
    Contributor

    ⚠️COMMENT VISIBILITY WARNING⚠️

    This issue is now closed. Please be mindful that future comments are hard for our team to see.

    If you need more assistance, please either tag a team member or open a new issue that references this one.

    If you wish to keep having a conversation with other community members under this issue feel free to do so.

  3. github-actions commented on Jul 11, 2024

    @github-actions
    Contributor

    This is now released under 2.41.0 version!

  4. moved this from Coming soon to Shipped in Powertools for AWS Lambda (Python)on Jan 23, 2025
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

    internalMaintenance changestriagePending triage from maintainers

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions