diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-10-03 18:51:56 +0100 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-10-04 08:51:55 +0100 |
commit | ac1d99240af6c5d3ed5db2beea1479903d949a37 (patch) | |
tree | f6150bfd534396e9d24e58b6dd423ea999afcce2 /ci/lint | |
parent | 1730f6cb23cc05445df3266cb21b8846b99427b4 (diff) | |
download | bitcoin-ac1d99240af6c5d3ed5db2beea1479903d949a37.tar.xz |
ci: Move `git config` commands into script where they are used
Diffstat (limited to 'ci/lint')
-rwxr-xr-x | ci/lint/06_script.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ci/lint/06_script.sh b/ci/lint/06_script.sh index 1f14dd079f..4506848740 100755 --- a/ci/lint/06_script.sh +++ b/ci/lint/06_script.sh @@ -31,6 +31,8 @@ if [ "$CIRRUS_REPO_FULL_NAME" = "bitcoin/bitcoin" ] && [ "$CIRRUS_PR" = "" ] ; t git log HEAD~10 -1 --format='%H' > ./contrib/verify-commits/trusted-sha512-root-commit git log HEAD~10 -1 --format='%H' > ./contrib/verify-commits/trusted-git-root mapfile -t KEYS < contrib/verify-commits/trusted-keys + git config user.email "ci@ci.ci" + git config user.name "ci" ${CI_RETRY_EXE} gpg --keyserver hkps://keys.openpgp.org --recv-keys "${KEYS[@]}" && ./contrib/verify-commits/verify-commits.py; fi |