From 27b55e00b1d232a754fc2b8cf5f68c17509f7fcb Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Tue, 23 Jan 2024 02:06:41 -0500 Subject: [PATCH] ci: Don't include API/what's new notes in general doc labels --- .github/labeler.yml | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 8d899258a3e7..743e640652f7 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -75,10 +75,14 @@ - 'lib/matplotlib/backends/backend_wx*.py*' "Documentation: API": - - changed-files: - - any-glob-to-any-file: - # Also files in lib/**, but we can't be sure those are only documentation. - - 'doc/api/**' + - all: + - changed-files: + - any-glob-to-any-file: + # Also files in lib/**, but we can't be sure those are only documentation. + - 'doc/api/**' + - all-globs-all-files: + - '!doc/api/next_api_changes/**' + "Documentation: build": - changed-files: - any-glob-to-any-file: @@ -102,10 +106,13 @@ - any-glob-to-any-file: - 'galleries/tutorials/**' "Documentation: user guide": - - changed-files: - - any-glob-to-any-file: - - 'doc/users/**' - - 'galleries/users_explain/**' + - all: + - changed-files: + - any-glob-to-any-file: + - 'doc/users/**' + - 'galleries/users_explain/**' + - all-globs-to-all-files: + - '!doc/users/next_whats_new/**' "topic: animation": - changed-files: