From 72aab29255d4fd553ccf1c0fa3223dcc62a2fd84 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Tue, 29 Mar 2022 11:00:10 -0400 Subject: [PATCH] fix: bug passing invalid patterns to grep (#453) --- action.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index f64c77b4..56965f76 100644 --- a/action.yml +++ b/action.yml @@ -147,11 +147,12 @@ runs: INPUT_PATH: ${{ inputs.path }} INPUT_USE_FORK_POINT: ${{ inputs.use_fork_point }} - name: Glob match - uses: tj-actions/glob@v7.12 + uses: tj-actions/glob@v7.14 id: glob with: files: ${{ inputs.files }} files-separator: ${{ inputs.files_separator }} + escape-paths: true excluded-files: ${{ inputs.files_ignore }} excluded-files-separator: ${{ inputs.files_ignore_separator }} files-from-source-file: ${{ inputs.files_from_source_file }} @@ -159,7 +160,7 @@ runs: working-directory: ${{ inputs.path }} base-sha: ${{ steps.changed-files-diff-sha.outputs.previous_sha }} sha: ${{ steps.changed-files-diff-sha.outputs.current_sha }} - include-deleted-files: "true" + include-deleted-files: true separator: "|" - run: | bash $GITHUB_ACTION_PATH/entrypoint.sh