syft/.github/scripts/ci-check.sh
Keith Zantow 362de2f3b6
chore: ci-check.sh script +x
Signed-off-by: Keith Zantow <kzantow@gmail.com>
2024-09-11 09:59:02 -04:00

12 lines
238 B
Bash
Executable File

#!/usr/bin/env bash
red=$(tput setaf 1)
bold=$(tput bold)
normal=$(tput sgr0)
# assert we are running in CI (or die!)
if [[ -z "$CI" ]]; then
echo "${bold}${red}This step should ONLY be run in CI. Exiting...${normal}"
exit 1
fi