[commit: ghc] master: circleci: Disable pushing of test metrics if not validating upstream (0f2ac24)

git at git.haskell.org git at git.haskell.org
Mon Nov 12 19:13:08 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/0f2ac24c26fb951cc81100085c7773906a241523/ghc

>---------------------------------------------------------------

commit 0f2ac24c26fb951cc81100085c7773906a241523
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Mon Nov 12 14:11:05 2018 -0500

    circleci: Disable pushing of test metrics if not validating upstream


>---------------------------------------------------------------

0f2ac24c26fb951cc81100085c7773906a241523
 .circleci/push-test-metrics.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.circleci/push-test-metrics.sh b/.circleci/push-test-metrics.sh
index 4ea6958..d8222b7 100755
--- a/.circleci/push-test-metrics.sh
+++ b/.circleci/push-test-metrics.sh
@@ -7,6 +7,10 @@ fail() {
   exit 1
 }
 
+if [ "$CIRCLE_REPOSITORY_URL" != "git at github.com:ghc/ghc.git" ]; then
+  exit 0
+fi
+
 GHC_ORIGIN=git at git.haskell.org:ghc
 
 # Add git.haskell.org as a known host.



More information about the ghc-commits mailing list