aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-08-20 01:11:37 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-08-20 01:33:04 +0300
commite9cf506ab015ba095dbf6a69ec4b7278dbdc548b (patch)
treed285c7f00c8acd115bc78be14b128ed5c63446ba
parent040e4deddcc176ecd8022549474fc79cd6fa05f5 (diff)
ci: Make git available for all merge commits
-rw-r--r--.cirrus.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 41beb52157..2a5b3d4fbe 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -21,8 +21,8 @@ persistent_worker_template: &PERSISTENT_WORKER_TEMPLATE
base_template: &BASE_TEMPLATE
skip: $CIRRUS_REPO_FULL_NAME == "bitcoin-core/gui" && $CIRRUS_PR == "" # No need to run on the read-only mirror, unless it is a PR. https://cirrus-ci.org/guide/writing-tasks/#conditional-task-execution
merge_base_script:
- - if [ "$CIRRUS_PR" = "" ]; then exit 0; fi
- bash -c "$PACKAGE_MANAGER_INSTALL git"
+ - if [ "$CIRRUS_PR" = "" ]; then exit 0; fi
- git fetch $CIRRUS_REPO_CLONE_URL $CIRRUS_BASE_BRANCH
- git config --global user.email "ci@ci.ci"
- git config --global user.name "ci"