Skip to content

Commit

Permalink
Unbreak rebase following cirrus-actions#92. (cirrus-actions#94)
Browse files Browse the repository at this point in the history
(cherry picked from commit 99b0226)
  • Loading branch information
fischman-bcny authored and xzile committed Apr 19, 2022
1 parent 54ea165 commit b025343
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions entrypoint.sh
Expand Up @@ -83,6 +83,9 @@ USER_TOKEN=${USER_LOGIN//-/_}_TOKEN
UNTRIMMED_COMMITTER_TOKEN=${!USER_TOKEN:-$GITHUB_TOKEN}
COMMITTER_TOKEN="$(echo -e "${UNTRIMMED_COMMITTER_TOKEN}" | tr -d '[:space:]')"

# See https://github.com/actions/checkout/issues/766 for motivation.
git config --global --add safe.directory /github/workspace

git remote set-url origin https://x-access-token:$COMMITTER_TOKEN@github.com/$GITHUB_REPOSITORY.git
git config --global user.email "$USER_EMAIL"
git config --global user.name "$USER_NAME"
Expand Down

0 comments on commit b025343

Please sign in to comment.