diff --git a/.github/workflows/executable.yml b/.github/workflows/executable.yml index 39899fe..827fea9 100644 --- a/.github/workflows/executable.yml +++ b/.github/workflows/executable.yml @@ -11,9 +11,11 @@ jobs: - shell: bash run: | shopt -s globstar; + FAIL=0 for file in **/*.sh; do if [ -f "${file}" ] && [ -r "${file}" ] && [ ! -x "${file}" ]; then echo "$file" is not executable; - exit 1; + FAIL=1 fi done + exit ${FAIL}