Skip to content

Commit 7b1e68c

Browse files
authored
feat: add support for including git ignored files.
1 parent f402bae commit 7b1e68c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ inputs:
1313
description: 'Output string separator.'
1414
required: false
1515
default: " "
16+
match-gitignore-files:
17+
description: 'Indicates whether to match files in `.gitignore`'
18+
default: "true"
19+
required: true
1620

1721
outputs:
1822
files_changed:
@@ -33,7 +37,7 @@ runs:
3337
files-separator: ${{ inputs.files-separator }}
3438
separator: "|"
3539
match-directories: false
36-
match-gitignore-files: true
40+
match-gitignore-files: ${{ inputs.match-gitignore-files }}
3741
- run: |
3842
bash $GITHUB_ACTION_PATH/entrypoint.sh
3943
id: verify-changed-files
@@ -45,6 +49,7 @@ runs:
4549
# https://github.community/t/input-variable-name-is-not-available-in-composite-run-steps/127611
4650
INPUT_FILES_PATTERN_FILE: ${{ steps.glob.outputs.paths-output-file }}
4751
INPUT_SEPARATOR: ${{ inputs.separator }}
52+
INPUT_MATCH_GITIGNORE_FILES: ${{ inputs.match-gitignore-files }}
4853
4954
branding:
5055
icon: file-text

0 commit comments

Comments
 (0)