From: Matt Corallo Date: Fri, 2 Oct 2020 20:32:32 +0000 (-0400) Subject: Don't let CI fail to check commits b/c git isn't configured in CI X-Git-Tag: v0.0.12~15^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=89e40fe224c928add374b71b078b14b2d9c558d2;p=rust-lightning Don't let CI fail to check commits b/c git isn't configured in CI This fixes #733 by just setting a dummy git name/email before calling `git rebase` in CI. --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c8cdf6660..6ea1e4e1e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -109,6 +109,8 @@ jobs: run: | git remote add upstream https://github.com/rust-bitcoin/rust-lightning git fetch upstream + export GIT_COMMITTER_EMAIL="rl-ci@example.com" + export GIT_COMMITTER_NAME="RL CI" git rebase upstream/main - name: For each commit, run cargo check (including in fuzz) run: ci/check-each-commit.sh upstream/main