Skip to content

Commit b3d66df

Browse files
author
Matthias Koeppe
committed
.ci/retrofit-worktree.sh: Set git config globally
1 parent 07a2afd commit b3d66df

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.ci/retrofit-worktree.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ export GIT_AUTHOR_EMAIL="ci-sage@example.com"
1212
export GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"
1313
export GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"
1414

15+
# Set globally for other parts of the workflow
16+
git config --global user.name "$GIT_AUTHOR_NAME"
17+
git config --global user.email "$GIT_AUTHOR_EMAIL"
18+
1519
set -ex
1620

1721
# If actions/checkout downloaded our source tree using the GitHub REST API

0 commit comments

Comments
 (0)