diff --git a/runaction.sh b/runaction.sh index 9ab034b..0107ce5 100755 --- a/runaction.sh +++ b/runaction.sh @@ -11,8 +11,9 @@ statuscode=0 excludes+=( ! -path *./.git/* ) for path in ${INPUT_IGNORE}; do - echo "::debug:: Adding '*./${path}/*' to excludes" + echo "::debug:: Adding '${path}' to excludes" excludes+=(! -path "*./${path}/*" ) + excludes+=(! -path "*/${path}/*" ) done readarray -d '' filepaths < <(find . "${excludes[@]}" \