From b3e7146182d504904922b9b5a069d44a9b7416e7 Mon Sep 17 00:00:00 2001 From: Ludo Date: Sun, 27 Nov 2022 18:48:57 +0100 Subject: [PATCH 1/5] labeler changes --- .github/labeler.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 152ce09e8d..42f9565b75 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -13,11 +13,16 @@ # limitations under the License. 'on:blueprints': - - blueprints/**/* + - blueprints/**/*tf 'on:FAST': - - fast/**/* + - fast/**/*tf 'on:modules': - - modules/**/* + - modules/**/*tf 'on:tools': - tools/**/* - .github/**/* +'on:documentation': + - README.md + - fast/README.md + - fast/stages/README.md + - */README.md From d26249886293064ea45f6ab39c30924749d39e79 Mon Sep 17 00:00:00 2001 From: Ludo Date: Sun, 27 Nov 2022 18:50:03 +0100 Subject: [PATCH 2/5] test labeler --- blueprints/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/blueprints/README.md b/blueprints/README.md index c0b7687b8f..a0e304bd16 100644 --- a/blueprints/README.md +++ b/blueprints/README.md @@ -13,3 +13,4 @@ Currently available blueprints: - **third party solutions** - [OpenShift on GCP user-provisioned infrastructure](./third-party-solutions/openshift), [Wordpress deployment on Cloud Run](./third-party-solutions/wordpress/cloudrun) For more information see the individual README files in each section. + From 67ce55281f54db2d6ee42529b91ae4ea30191c5f Mon Sep 17 00:00:00 2001 From: Ludo Date: Sun, 27 Nov 2022 18:51:41 +0100 Subject: [PATCH 3/5] change rules --- .github/labeler.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 42f9565b75..7073c4147e 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -13,11 +13,11 @@ # limitations under the License. 'on:blueprints': - - blueprints/**/*tf + - blueprints/**/*.tf 'on:FAST': - - fast/**/*tf + - fast/**/*.tf 'on:modules': - - modules/**/*tf + - modules/**/*.tf 'on:tools': - tools/**/* - .github/**/* From a43442be5bc956e089dcfd564954e21b670b89a4 Mon Sep 17 00:00:00 2001 From: Julio Castillo Date: Mon, 28 Nov 2022 14:55:55 +0100 Subject: [PATCH 4/5] 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/**' From 6a3e6d03877a8329db92dcfb5f8efb79e8e03b4a Mon Sep 17 00:00:00 2001 From: Julio Castillo Date: Mon, 28 Nov 2022 14:57:30 +0100 Subject: [PATCH 5/5] Revert "test labeler" This reverts commit d26249886293064ea45f6ab39c30924749d39e79. --- blueprints/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/blueprints/README.md b/blueprints/README.md index a0e304bd16..c0b7687b8f 100644 --- a/blueprints/README.md +++ b/blueprints/README.md @@ -13,4 +13,3 @@ Currently available blueprints: - **third party solutions** - [OpenShift on GCP user-provisioned infrastructure](./third-party-solutions/openshift), [Wordpress deployment on Cloud Run](./third-party-solutions/wordpress/cloudrun) For more information see the individual README files in each section. -