Improve organization of CI workflow scripts and pip requirements (#45037)

This commit is contained in:
Alec Scott
2024-07-09 04:46:09 +02:00
committed by GitHub
parent b19c4cdcf6
commit 7c5fbee327
13 changed files with 14 additions and 22 deletions

8
.github/workflows/bin/setup_git.sh vendored Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash -e
git config --global user.email "spack@example.com"
git config --global user.name "Test User"
# create a local pr base branch
if [[ -n $GITHUB_BASE_REF ]]; then
git fetch origin "${GITHUB_BASE_REF}:${GITHUB_BASE_REF}"
fi