Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit a695171

Browse files
committed
Tighter RegEx for findInTree
1 parent 984a5ef commit a695171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ steps:
240240
- type: findInTree
241241
action_id: file
242242
tree: '%actions.tree.data.tree%'
243-
path: '/^_posts/'
243+
path: '/^_posts\/\d{4}-\d{2}-\d{2}-.*\.md$/'
244244
- type: getFileContents
245245
filename: '%actions.file.path%'
246246
action_id: contents

0 commit comments

Comments
 (0)