Open sdroege opened 2 years ago
Hmm, this was somehow caused by using a different container than the default ubuntu-latest one. Removing the container
configuration makes this work as expected, which seems not intended behaviour.
Unfortunately using the default docker container is not an option for all repositories where I need this. How can this be worked around?
Apparently by calling git config --global --add safe.directory
manually again at a later time :confused:
That new git behavior is extra problematic if you happen to also make use of WSL, as it means that you also need to add the unix path as safe directory, not only the default workspace.
I think that is might prove more useful to try to avoid having bad file permissions on github runners by default.
See https://github.com/gtk-rs/gtk-rs-core/pull/760 for an example where this fails.
In this repository there are some submodules that are configured with
update = none
, i.e.git submodule update --init --recursive
is not going to fetch them. For some CI tasks we still want to have them though, so it is necessary to rungit submodule update --checkout
.This does not work and fails as follows:
It's unclear how to work around this as the suggested solution from the error message is clearly already done.