Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions github_action_resources/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ echo "BC_REPOSITORY_URL="${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}""
# This is meant to be a last resort, if our internal mechanism doesn't work
if [ -n "$GITHUB_OVERRIDE_URL" ] && [ "$GITHUB_OVERRIDE_URL" = "true" ]; then
git config --global url."https://x-access-token:${GITHUB_PAT}@github.com/".insteadOf "https://github.com/"
git config --global --add url."https://x-access-token:${GITHUB_PAT}@github.com/".insteadOf "[email protected]:"
git config --global --add url."https://x-access-token:${GITHUB_PAT}@github.com/".insteadOf "git::ssh://[email protected]/"
git config --global --add url."https://x-access-token:${GITHUB_PAT}@github.com/".insteadOf "ssh://[email protected]/"
fi

# If Docker image is used, default to that
Expand Down
Loading