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
  • Loading branch information
fischman-bcny authored Apr 15, 2022
1 parent da0cb1c commit 99b0226
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
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 99b0226

Please sign in to comment.