Skip to content
Draft
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
5 changes: 4 additions & 1 deletion posix/clone
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ fi
# configure git global behavior and parameters via the
# following environment variables:

if [ ! -z "$DRONE_REQUEST_ID" ]; then
git config --global http.extraHeader "X-Request-Id: $DRONE_REQUEST_ID"
fi

if [ -z "${DRONE_COMMIT_AUTHOR_NAME}" ]; then
export DRONE_COMMIT_AUTHOR_NAME=drone
Expand Down Expand Up @@ -123,4 +126,4 @@ copy-file-content

if [ -n "$PLUGIN_BUILD_TOOL_FILE" ] && [ -z "$CI_DISABLE_TELEMETRY" ]; then
get-buildtool-lang || true
fi
fi