From a43442be5bc956e089dcfd564954e21b670b89a4 Mon Sep 17 00:00:00 2001 From: Julio Castillo Date: Mon, 28 Nov 2022 14:55:55 +0100 Subject: [PATCH] Only add documentation label for non-README md files --- .github/labeler.yml | 36 ++++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 7073c4147e..eb6dcfa314 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -13,16 +13,32 @@ # limitations under the License. 'on:blueprints': - - blueprints/**/*.tf + - any: + - 'blueprints/**' + - '!**/*.md' + +'on:documentation': + - any: + - '**/*.md' + - '!**/README.md' + + - 'README.md' + - 'blueprints/README.md' + - 'blueprints/*/README.md' + - 'modules/README.md' + - 'fast/README.md' + - 'fast/stages/README.md' + 'on:FAST': - - fast/**/*.tf + - any: + - 'fast/**' + - '!**/*.md' + 'on:modules': - - modules/**/*.tf + - any: + - 'modules/**' + - '!**/*.md' + 'on:tools': - - tools/**/* - - .github/**/* -'on:documentation': - - README.md - - fast/README.md - - fast/stages/README.md - - */README.md + - 'tools/**' + - '.github/**'