Skip to content

Commit 516e3ce

Browse files
committed
Add safe.directory configuration for Git to prevent warnings during PHP dependency installation
1 parent 3925b26 commit 516e3ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ function maybe_install_php_dep() {
217217
exit 1
218218
fi
219219

220+
git config --global --add safe.directory "$GITHUB_WORKSPACE"
220221
apt install -y software-properties-common && \
221222
add-apt-repository ppa:ondrej/php && \
222223
apt update && \

0 commit comments

Comments
 (0)