transfermarkt-datasets
transfermarkt-datasets copied to clipboard
Error: fatal: You are not currently on a branch.
Removing the use of a token to checkout
https://github.com/dcaribou/transfermarkt-datasets/blob/d7070ab7d920d01058311a7bed43a3c827c43478/.github/workflows/build.yml#L24
and this line from the commit action https://github.com/dcaribou/transfermarkt-datasets/blob/1cf213431a9699dcf15b4dffc80d183a2d1c954a/.github/workflows/build.yml#L41
ends with an error when trying to commit.
Error: Error: fatal: detected dubious ownership in repository at '/__w/transfermarkt-datasets/transfermarkt-datasets' To add an exception for this directory, call: . git config --global --add safe.directory /__w/transfermarkt-datasets/transfermarkt-datasets
The same issue caused https://github.com/dcaribou/transfermarkt-datasets/issues/256. There is a workaround implemented, but we need to come back and identify what's the problem here.