From 479d4c3dbca6b722907e9472a9b710570f91ef1d Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Fri, 12 Mar 2021 10:51:07 +0100 Subject: [PATCH] fix variable name --- check_cron_or_pr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_cron_or_pr.sh b/check_cron_or_pr.sh index 1f647d3..1a3743f 100755 --- a/check_cron_or_pr.sh +++ b/check_cron_or_pr.sh @@ -2,7 +2,7 @@ set -e -if [[ $github.event_name == "pull_request" ]]; then +if [[ $GITHUB_EVENT_NAME == "pull_request" ]]; then echo "It's a PR" export SHOULD_BUILD="yes"