eficode-academy / git-katas

A set of exercises for deliberate Git Practice
MIT License
1.35k stars 904 forks source link

Broken integration test from git version 2.35.2 #321

Closed pa-lun closed 2 years ago

pa-lun commented 2 years ago

As a result of CVE-2022-24765 integration tests seem to fail on later git versions as working directory doesn't have the correct owner. Fails with error: "fatal: unsafe repository ('/__w/git-katas/git-katas' is owned by someone else)"

git suggests a workaround to set the directory as a safe directory.

Issue related to the github checkout action is discussed here: https://github.com/actions/checkout/issues/760

pa-lun commented 2 years ago

The issue can be seen here: https://github.com/eficode-academy/git-katas/runs/6423161862