Skip to content

Commit

Permalink
fix: setting Git user/email address
Browse files Browse the repository at this point in the history
  • Loading branch information
gabyx committed Jul 5, 2024
1 parent 6d5e553 commit 37107ee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/ci/before-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ ROOT_DIR=$(git rev-parse --show-toplevel)
print_info "Current dir: '$(pwd)'"
print_info "Running as user: $(id)"

ci_setup_git

unset ROOT_DIR
5 changes: 5 additions & 0 deletions tools/general.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ function ci_is_release() {
return 1
}

function ci_setup_git() {
git config --global user.name "SDSC CI"
git config --global user.email "[email protected]"
}

function ci_setup_nix() {
local install_prefix="${1:-/usr/sbin}"

Expand Down

0 comments on commit 37107ee

Please sign in to comment.