Skip to content

[v4] Commit creating failed: ["Service not found: none"] #263

@dfed

Description

@dfed

I'm trying to migrate to v4 and I've encountered two errors on an ubuntu-latest runner.

First: same error message as codecov/codecov-action#1252, which I fixed by adding a Setup Python step to ensure that 3.10 was installed.

Second: Commit creating failed: ["Service not found: none"]

I haven't yet found a workaround for this second issue.

For what it's worth, my macOS runner is succeeding with v4.


[@thomasrockhu-codecov edit]
The root cause of this error is that all git calls made by the CLI here are failing. The error message is

fatal: detected dubious ownership in repository at '/__w/example-python/example-python'\nTo add an exception for this directory, call:

    git config --global --add safe.directory /__w/example-python/example-python

The repo example-python will of course be different for each repo.

This call SHOULD be made by the checkout step (see the previous comment issues tagged) and this log.
image

but we notice that this isn't happening.

A possible solution would be to have the CLI make this call (git config --global --add safe.directory <working_dir>), but not sure if that's the solution we want.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Waiting for: Product Owner

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions