Skip to content

[BUG] Use of codecov-action action leaves git repository in dirty stateΒ #1851

@ssbarnea

Description

@ssbarnea

Describe the bug

Apparently execution of the actions created these untracked files inside the project directory, so git will report dirty state.

codecov
codecov.SHA256SUM
codecov.SHA256SUM.sig

This breaks the CI pipelines for users that do check that does not reports untracked files after test execution, which is a very good practice.

A workaround is to add these files to project .gitignore but that should NOT be needed.

To Reproduce

Run git status after running the action.

Expected behavior

No untracked files are created. Any temporary files used by the action should not be created inside the project directory (use temp instead).

Commit and CI link
Provide the commit SHA and CI link. If applicable, provide the entire Codecov output from CI.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions