Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: fatal: You are not currently on a branch. #255

Open
dcaribou opened this issue Dec 8, 2023 · 0 comments
Open

Error: fatal: You are not currently on a branch. #255

dcaribou opened this issue Dec 8, 2023 · 0 comments
Labels
bug Something isn't working platform

Comments

@dcaribou
Copy link
Owner

dcaribou commented Dec 8, 2023

Removing the use of a token to checkout

token: ${{ secrets.PA_GITHUB_TOKEN }}

and this line from the commit action

new_branch: ${{ steps.branch-name.outputs.current_branch }}

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 #256.
There is a workaround implemented, but we need to come back and identify what's the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working platform
Projects
None yet
Development

No branches or pull requests

1 participant