Selaa lähdekoodia

Merge pull request #668 from daiyam/fix-schedule

fix schedule runs
Peter Squicciarini 4 vuotta sitten
vanhempi
sitoutus
93bfe2e2d4
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      check_cron_or_pr.sh

+ 1 - 1
check_cron_or_pr.sh

@@ -2,7 +2,7 @@
 
 set -e
 
-if [[ $github.event.number ]]; then
+if [[ $GITHUB_EVENT_NAME == "pull_request" ]]; then
 	echo "It's a PR"
 	
 	export SHOULD_BUILD="yes"