From d586102c117f97e63d7e3b56629d269efc9a7c60 Mon Sep 17 00:00:00 2001 From: Ludeeus Date: Sun, 25 Oct 2020 21:06:05 +0100 Subject: [PATCH] Fix substitution issue --- action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yaml b/action.yaml index c033f74..e37bfc6 100644 --- a/action.yaml +++ b/action.yaml @@ -143,7 +143,7 @@ runs: filepaths+=("$path"); done - for file in $(find "${{ inputs.scandir }}" ${{ steps.exclude.outputs.excludes }} -type f ! -name '*.*' -perm /111 -print0); do + for file in $(find "${{ inputs.scandir }}" ${{ steps.exclude.outputs.excludes }} -type f ! -name '*.*' -perm /111 -print); do head -n1 "$file" | grep -Eqs "$shebangregex" || continue filepaths+=("$file"); done