Baptiste Augrain пре 4 година
родитељ
комит
479d4c3dbc
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      check_cron_or_pr.sh

+ 1 - 1
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"