Skip to content

Commit

Permalink
feat: add support for including git ignored files.
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 authored Jun 11, 2023
1 parent f402bae commit 7b1e68c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ inputs:
description: 'Output string separator.'
required: false
default: " "
match-gitignore-files:
description: 'Indicates whether to match files in `.gitignore`'
default: "true"
required: true

outputs:
files_changed:
Expand All @@ -33,7 +37,7 @@ runs:
files-separator: ${{ inputs.files-separator }}
separator: "|"
match-directories: false
match-gitignore-files: true
match-gitignore-files: ${{ inputs.match-gitignore-files }}
- run: |
bash $GITHUB_ACTION_PATH/entrypoint.sh
id: verify-changed-files
Expand All @@ -45,6 +49,7 @@ runs:
# https://github.jparrowsec.cnmunity/t/input-variable-name-is-not-available-in-composite-run-steps/127611
INPUT_FILES_PATTERN_FILE: ${{ steps.glob.outputs.paths-output-file }}
INPUT_SEPARATOR: ${{ inputs.separator }}
INPUT_MATCH_GITIGNORE_FILES: ${{ inputs.match-gitignore-files }}
branding:
icon: file-text
Expand Down

0 comments on commit 7b1e68c

Please sign in to comment.