ci: Make commits not as me, as not to shit up my commits

This commit is contained in:
kat witch 2021-05-20 16:37:21 +01:00
parent f6e185386b
commit 332cd6fcd6
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72

View file

@ -80,8 +80,8 @@ with lib; {
fi
if [[ -n $OPENSSH_PRIVATE_KEY ]]; then
git add nix/sources.json
export GIT_{COMMITTER,AUTHOR}_EMAIL=kat@kittywit.ch
export GIT_{COMMITTER,AUTHOR}_NAME=kat witch
export GIT_{COMMITTER,AUTHOR}_EMAIL=github@kittywit.ch
export GIT_{COMMITTER,AUTHOR}_NAME="niv cron job"
git commit --message="ci: niv update"
if [[ $GITHUB_REF = refs/heads/main ]]; then
GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" \