tj-actions/Glob match

Search for files matching glob patterns.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
filesFile patternsno
files-separatorSeparator used to split the `files` inputno""
excluded-filesExcluded file patterns (optionally include `!` before the file pattern or it would be prepended)no""
excluded-files-separatorSeparator used to split the `excluded-files` inputno""
files-from-source-fileSource file to populate the `files` inputno""
files-from-source-file-separatorSeparator used to split the `files-from-source-file` inputno""
excluded-files-from-source-fileSource file to populate the `excluded-files` inputno""
excluded-files-from-source-file-separatorSeparator used to split the `excluded-files-from-source-file` inputno""
follow-symbolic-linksIndicates whether to follow symbolic linksyestrue
match-directoriesIndicates whether to include matched directoriesyestrue
match-gitignore-filesIndicates whether to match files in `.gitignore`yesfalse
read-gitignoreIndicates whether to read `.gitignore`. The `.gitignore` file will be ignored if set to `false`. Overrides `match-gitignore-files`yestrue
separatorSeparator used for the paths output.yes""
safe-outputEscape special characters of filenames used in the `paths` outputnotrue
strip-top-level-dirStrip the `$GITHUB_WORKSPACE` from the `paths` outputnotrue
include-deleted-filesInclude all matching deleted filesnofalse
base-refSpecify a base ref used for comparing changes, when `include-deleted-files` is set to `true`no${{ github.event.pull_request.base.ref }}
head-repo-forkSpecify a boolean indicating a PR from a fork is used for comparing changes, when `include-deleted-files` is set to `true`no${{ github.event.pull_request.head.repo.fork }}
shaSpecify a current commit SHA used for comparing changes, when `include-deleted-files` is set to `true`yes${{ github.sha }}
base-shaSpecify a base commit SHA used for comparing changes, when `include-deleted-files` is set to `true`no
working-directoryProvide a path that is relative to `$GITHUB_WORKSPACE` for identifying the repository.yes.
diffSpecify a diff string `..` or `...` used for comparing changes, when `include-deleted-files` is set to `true`no
namedescription
pathsList of filtered paths using the specified patterns and separator
paths-output-fileList of filtered paths using the specified patterns and separator stored in a temporary file
has-custom-patternsIndicates whether at least one pattern was provided