From 8b8677b4ce798702964ad29c999034023823fa83 Mon Sep 17 00:00:00 2001 From: Alexander Kachkaev Date: Fri, 4 Feb 2022 13:54:21 +0000 Subject: [PATCH] Improve warning --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b1663848..ac1102aa 100644 --- a/README.md +++ b/README.md @@ -47,16 +47,19 @@ label1: From a boolean logic perspective, top-level match objects are `OR`-ed together and individual match rules within an object are `AND`-ed. Combined with `!` negation, you can write complex matching rules. +> ⚠️ This action uses [micromatch](https://www.npmjs.com/package/micromatch) for apply globs. +> For historical reasons, paths starting with dot (e.g. `.github`) are not matched by default. +> You need to set `dot: true` to change this behavior. +> See [Inputs](#inputs) table below for details. + #### Basic Examples ```yml # Add 'label1' to any changes within 'example' folder or any subfolders -# (this does not apply to files starting with dot by default – see inputs table below) label1: - example/**/* # Add 'label2' to any file changes within 'example2' folder -# (this does not apply to files starting with dot by default – see inputs table below) label2: example2/* ```