Skip to content

Commit be39148

Browse files
committed
Unset committer info on codespaces
1 parent bcad485 commit be39148

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

script/codespaces-post-start

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,6 @@ if [ ! -f "${HOME}/.ssh/git_signing_ed25519" ]; then
2525
# Takes this from my Codespaces secrets config on GitHub
2626
echo "$GIT_SIGNING_KEY" > "${HOME}/.ssh/git_signing_ed25519"
2727
chmod 600 "${HOME}/.ssh/git_signing_ed25519"
28+
# Unset these as GitHub doesn't verify commits by the default GitHub <[email protected]> set by default in Codespaces
29+
unset GIT_COMMITTER_EMAIL GIT_COMMITTER_NAME
2830
fi

0 commit comments

Comments
 (0)