Skip to content

Commit

Permalink
Merge pull request #252 from tj-actions/feat/add-support-for-specifyi…
Browse files Browse the repository at this point in the history
…ng-the-files-separator

feat: add support for specifying the files-separator
  • Loading branch information
repo-ranger[bot] committed Jan 27, 2023
2 parents 7d033d8 + 7c92870 commit d2ea8cd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -30,6 +34,7 @@ runs:
id: glob
with:
files: ${{ inputs.files }}
files-separator: ${{ inputs.files-separator }}
separator: "|"
match-directories: false
match-gitignore-files: true
Expand Down

0 comments on commit d2ea8cd

Please sign in to comment.