Skip to content

Commit

Permalink
feat: add support for optionally reading the .gitignore file
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed May 4, 2024
1 parent 531dd1d commit 64f21d9
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 @@ -17,6 +17,10 @@ inputs:
description: 'Indicates whether to match files in `.gitignore`'
default: "false"
required: true
read-gitignore:
description: 'Indicates whether to read `.gitignore`. The `.gitignore` file will be ignored if set to `false`. Overrides `match-gitignore-files`'
default: "true"
required: true
fail-if-changed:
description: 'Indicates whether to fail if files have changed.'
default: "false"
Expand Down Expand Up @@ -58,6 +62,7 @@ runs:
files-separator: ${{ inputs.files-separator }}
separator: "|"
match-directories: false
read-gitignore: ${{ inputs.read-gitignore }}
match-gitignore-files: ${{ inputs.match-gitignore-files }}
escape-paths: ${{ inputs.safe_output }}
- run: |
Expand Down

0 comments on commit 64f21d9

Please sign in to comment.