Skip to content

No way to filter by directory #2276

Answered by jackton1
alex8bitw asked this question in Q&A
Discussion options

You must be logged in to vote

HI @alex8bitw, this action only supports filtering changed files, hence the name changed-files.

To match a directory that contains a changed file, you'll need to use a directory pattern.

Example

Match directories with the word hono in them

**/*hono*/**

Note

The use of /** to match files within the folder and dir_names set to true essentially returns the directory name of the matched changed file.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jackton1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants