Skip to content

Commit

Permalink
Unbreak rebase following cirrus-actions#92.
Browse files Browse the repository at this point in the history
  • Loading branch information
fischman-bcny committed Apr 15, 2022
1 parent da0cb1c commit 80352df
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 80352df

Please sign in to comment.