From 7c9287004eecca1da9010883b30ffa140e95b867 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 27 Jan 2023 10:55:01 -0700 Subject: [PATCH] feat: add support for specifying the files-separator --- action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/action.yml b/action.yml index e0ded04..ef2b170 100644 --- a/action.yml +++ b/action.yml @@ -5,6 +5,10 @@ inputs: files: description: 'File/Directory names to check for uncommited changes.' required: true + files-separator: + description: 'Separator used to split the `files` input' + default: "\n" + required: false autocrlf: description: 'Modify the git config [core.autocrlf](https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration#_core_autocrlf).' default: 'input' @@ -30,6 +34,7 @@ runs: id: glob with: files: ${{ inputs.files }} + files-separator: ${{ inputs.files-separator }} separator: "|" match-directories: false match-gitignore-files: true