From 0a50a6a3938d88999a0dbdfae0b823b54fa65e78 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 20 Aug 2019 08:28:25 +0100 Subject: [PATCH] bin/brew: set CI for GitHub Actions. --- bin/brew | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/brew b/bin/brew index edf2dded7f..77bcb906f7 100755 --- a/bin/brew +++ b/bin/brew @@ -65,8 +65,9 @@ do export "$VAR_NEW"="${!VAR}" done -# Set CI variable for Azure Pipelines, Jenkins. -if [[ -n "$TF_BUILD" || -n "$JENKINS_HOME" ]] +# Set CI variable for GitHub Actions, Azure Pipelines, Jenkins +# (Set by default on Circle and Travis CI) +if [[ -n "$GITHUB_ACTIONS" || -n "$TF_BUILD" || -n "$JENKINS_HOME" ]] then export CI="1" fi