This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/.circleci/bot_init

26 lines
732 B
Text
Raw Normal View History

2021-07-01 13:49:25 +00:00
#!/usr/bin/env bash
## Bot_init initialization script for bot account CircleCI
##
## Copyright (c) 2012-2014 Sylvain Benner
## Copyright (c) 2014-2021 Sylvain Benner & Contributors
##
## Author: Eugene Yaremenko
## URL: https://github.com/syl20bnr/spacemacs
##
## This file is not part of GNU Emacs.
##
## License: GPLv3
echo_headline "Setting up bot account"
mkdir -p ~/.ssh
printf "Host github.com\n" > ~/.ssh/config
printf " StrictHostKeyChecking no\n" >> ~/.ssh/config
printf " UserKnownHostsFile=/dev/null\n" >> ~/.ssh/config
2021-07-02 08:07:31 +00:00
git config --global user.name "${UPD_BOT_LOGIN}"
2021-07-01 13:49:25 +00:00
git config --global user.email "not@an.actual.email.beep.boop"
git config --global push.default simple
git config --global hub.protocol https