From 89e40fe224c928add374b71b078b14b2d9c558d2 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Fri, 2 Oct 2020 16:32:32 -0400 Subject: [PATCH] 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. --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c8cdf666..6ea1e4e1 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 -- 2.30.2