From e727174beb90df7b1e39b95e5da15eb4c4596adc Mon Sep 17 00:00:00 2001 From: aptalca Date: Mon, 12 Dec 2022 21:05:27 -0500 Subject: [PATCH] set proper workflow error message --- .github/workflows/permissions.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/permissions.yml b/.github/workflows/permissions.yml index cfb610b..721c43f 100644 --- a/.github/workflows/permissions.yml +++ b/.github/workflows/permissions.yml @@ -18,8 +18,9 @@ jobs: run: | WRONG_PERM=$(find ./ -name run -not -perm -u=x,g=x,o=x && find ./ -name finish -not -perm -u=x,g=x,o=x) if [ -n "${WRONG_PERM}" ]; then - echo "**** The following files are missing the executable bit: ****" - echo "${WRONG_PERM}" + for i in ${WRONG_PERM}; do + echo "::error file=${i},line=1,title=Missing Executable Bit::This file needs to be set as executable!" + done exit 1 else echo "**** All perms look good ****"