]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Don't let CI fail to check commits b/c git isn't configured in CI 2020-10-ci-no-git-conf
authorMatt Corallo <git@bluematt.me>
Fri, 2 Oct 2020 20:32:32 +0000 (16:32 -0400)
committerMatt Corallo <git@bluematt.me>
Fri, 2 Oct 2020 20:37:37 +0000 (16:37 -0400)
This fixes #733 by just setting a dummy git name/email before
calling `git rebase` in CI.

.github/workflows/build.yml

index c8cdf6660b709b5dfeacceb9f29af8f41c27fc88..6ea1e4e1e1957d0c4b2dc8d7efa3ff6f89231b9d 100644 (file)
@@ -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