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.

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.
I'm trying to migrate to v4 and I've encountered two errors on an
ubuntu-latestrunner.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
gitcalls made by the CLI here are failing. The error message isThe repo
example-pythonwill 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.

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.