diff --git a/nix/scripts/run-ci-tests.nix b/nix/scripts/run-ci-tests.nix index 9b11af361962828d53fba5cad62a980872b9b6f5..6bd9934be090e5825641db9bf742f6299d662b3b 100644 --- a/nix/scripts/run-ci-tests.nix +++ b/nix/scripts/run-ci-tests.nix @@ -5,7 +5,7 @@ }: pkgs.writeShellScriptBin "run-ci-tests" '' echo "run ci tests" - if [ -n "''${CI_JOB_TOKEN}" ]; then + if [ -z "''${CI_JOB_TOKEN}" ]; then echo "You are in a CI environment, this shell is not intended for CI, but for local development" exit 1 fi