mirror of
https://code.forgejo.org/actions/checkout.git
synced 2026-04-22 23:59:39 +00:00
fix: fix adding safe-directory in container
This commit is contained in:
parent
0c366fd6a8
commit
a0eb51f8ea
5 changed files with 47 additions and 17 deletions
|
|
@ -15,9 +15,6 @@ fi
|
|||
|
||||
cd "$CHECKOUT_PATH"
|
||||
|
||||
# Add safe directory for container environments
|
||||
git config --global --add safe.directory "*" 2>/dev/null || true
|
||||
|
||||
# Show the includeIf configuration
|
||||
echo "Git config includeIf entries:"
|
||||
git config --list --show-origin | grep -i include || true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue