github.com/anchore/syft@v1.38.2/.github/scripts/ci-check.sh (about) 1 #!/usr/bin/env bash 2 3 red=$(tput setaf 1) 4 bold=$(tput bold) 5 normal=$(tput sgr0) 6 7 # assert we are running in CI (or die!) 8 if [[ -z "$CI" ]]; then 9 echo "${bold}${red}This step should ONLY be run in CI. Exiting...${normal}" 10 exit 1 11 fi