Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

Commit 99b0226

Browse files
Unbreak rebase following #92. (#94)
1 parent da0cb1c commit 99b0226

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ USER_TOKEN=${USER_LOGIN//-/_}_TOKEN
8383
UNTRIMMED_COMMITTER_TOKEN=${!USER_TOKEN:-$GITHUB_TOKEN}
8484
COMMITTER_TOKEN="$(echo -e "${UNTRIMMED_COMMITTER_TOKEN}" | tr -d '[:space:]')"
8585

86+
# See https://github.com/actions/checkout/issues/766 for motivation.
87+
git config --global --add safe.directory /github/workspace
88+
8689
git remote set-url origin https://x-access-token:$COMMITTER_TOKEN@github.com/$GITHUB_REPOSITORY.git
8790
git config --global user.email "$USER_EMAIL"
8891
git config --global user.name "$USER_NAME"

0 commit comments

Comments
 (0)