No error on changeless exit

This commit is contained in:
Scott Lahteine 2023-01-15 10:40:03 -06:00
parent 13e364a286
commit d629b75e65

View file

@ -38,7 +38,7 @@ jobs:
DIRS=$(git diff --name-only --diff-filter=AMR origin/$BASE_BRANCH HEAD | grep -E ".+\.h" | while IFS= read -r f; do dirname "$f"; done | uniq)
# Exit if nothing testable changed
[[ -z $DIRS ]] && { echo "No Configuration changes detected."; exit 3 ; }
[[ -z $DIRS ]] && { echo "No Configuration changes detected."; exit ; }
# Set DIRS in the persistent environment
echo -e "DIRS<<EOF\n$DIRS\nEOF" >>$GITHUB_ENV