From f3929e2b88d6aeaf6d9f3c0b05c0c43294504793 Mon Sep 17 00:00:00 2001 From: waldner Date: Mon, 5 Jan 2026 00:55:54 +0100 Subject: [PATCH] make safe directory configurable --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 7aaf4c69..6cdd8ad8 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -27,7 +27,7 @@ force_without_changes_pre=${FORCE_WITHOUT_CHANGES:-false} tag_message=${TAG_MESSAGE:-""} # since https://github.blog/2022-04-12-git-security-vulnerability-announced/ runner uses? -git config --global --add safe.directory /github/workspace +git config --global --add safe.directory "$(dirname "${GITHUB_WORKSPACE}")/*" cd "${GITHUB_WORKSPACE}/${source}" || exit 1