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 a26f21c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/normal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs: [format, lint, build, test]
# needs: [format, lint, build, test]
container:
image: ghcr.io/sdsc-ordes/rdf-protect:ci-nix-1.0.0

Expand Down
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 a26f21c

Please sign in to comment.