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

Fix safe.directory error message when use GITHUB_WORKSPACE #132

Merged
merged 2 commits into from
Dec 27, 2022

Conversation

phouverneyuff
Copy link
Contributor

When you upgrade your git to a specific version, users will start to see the error:
Error: fatal: unsafe repository ...

This error occurred when I was using the runner folder to check out my project, and this action was using GITHUB_WORKSPACE folder to build. So, we need add GITHUB_WORKFSPACE to safe.directory

The problem is opened here: actions/checkout#766

@Tiryoh Tiryoh merged commit 189e3c9 into Tiryoh:main Dec 27, 2022
@Tiryoh
Copy link
Owner

Tiryoh commented Dec 27, 2022

@phouverneyuff Thanks!

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