Skip to content

Commit ef87d00

Browse files
committed
make safe directory configurable
1 parent 4ed4496 commit ef87d00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ force_without_changes_pre=${FORCE_WITHOUT_CHANGES:-false}
2727
tag_message=${TAG_MESSAGE:-""}
2828

2929
# since https://github.blog/2022-04-12-git-security-vulnerability-announced/ runner uses?
30-
git config --global --add safe.directory /github/workspace
30+
git config --global --add safe.directory "$(dirname "${GITHUB_WORKSPACE}")"
3131

3232
cd "${GITHUB_WORKSPACE}/${source}" || exit 1
3333

0 commit comments

Comments
 (0)