Add "separator" input to enable using something other than "\n" for the globs input (fixes #58).

This commit is contained in:
David Anson
2022-11-30 03:29:42 +00:00
parent ee28a92f8a
commit 9085e7e0dc
6 changed files with 42 additions and 4 deletions
+2 -1
View File
@@ -11,8 +11,9 @@ jobs:
id: changed-files
with:
files: '**/*.md'
separator: "\n"
separator: ","
- uses: DavidAnson/markdownlint-cli2-action@v7
if: steps.changed-files.outputs.any_changed == 'true'
with:
globs: ${{ steps.changed-files.outputs.all_changed_files }}
separator: ","