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

[workflow] handled the git directory ownership error #1741

Merged
merged 1 commit into from
Oct 19, 2022

Conversation

FrankLeeeee
Copy link
Contributor

What is the problem?

In newer-version git (> 2.25), the security feature is enhanced such that it will check the ownership of the current git repo. If the directory is not completely owned by the current user, the user cannot do anything e.g. git checkout . Therefore, to be safe, we need to add the current directory to the safe directory list.

What does this PR do?

This PR modified the script to build the binary wheels such that it will not raise ownership error when checking out to a different ref.

@FrankLeeeee FrankLeeeee merged commit 9d0560a into main Oct 19, 2022
@FrankLeeeee FrankLeeeee deleted the hotfix/workflow branch January 4, 2023 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants