Skip to content

Conversation

@aznashwan
Copy link

The git command performs some ownership checks on the '.git' directory which may lead to some git subcommands used by various build tools (most notably rev-parse) refusing to execute.

This patch avoids the issue by explicitly marking the entire '$GITHUB_WORKSPACE' path as safe to git.

The `git` command performs some ownership checks on the '.git' directory
which may lead to some `git` subcommands used by various build tools
(most notably `rev-parse`) refusing to execute.

This patch avoids the issue by explicitly marking the entire
'$GITHUB_WORKSPACE' path as safe to `git`.

Signed-off-by: Nashwan Azhari <aznashwan@icloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant