From ddf374e23b8be28f4c4cccf8b85876da9b8d11e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Sun, 14 Jan 2024 11:48:19 -0500 Subject: [PATCH] CI(labeler): Fix RFC exclusion from docs, adjust other globs (#3360) * CI(labeler): Fix RFC exclusion from docs * CI(labeler): Simplify double star globs when appropriate * CI(labeler): Add database to `**.sql` files --- .github/labeler.yml | 90 ++++++++++++++++++++++----------------------- 1 file changed, 44 insertions(+), 46 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 1b91a8d6527..d69558da359 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -2,89 +2,89 @@ libraries: - changed-files: - any-glob-to-any-file: - - lib/**/* - - include/grass/* - - include/grass/**/* - - python/**/* + - lib/** + - include/grass/** + - python/** module: - changed-files: - any-glob-to-any-file: - - db/**/* - - display/**/* - - general/**/* - - imagery/**/* - - misc/**/* - - ps/**/* - - raster/**/* - - raster3d/**/* - - scripts/**/* - - temporal/**/* - - vector/**/* + - db/** + - display/** + - general/** + - imagery/** + - misc/** + - ps/** + - raster/** + - raster3d/** + - scripts/** + - temporal/** + - vector/** # Module categories database: - changed-files: - any-glob-to-any-file: - - db/**/* - - lib/db/**/* + - db/** + - lib/db/** - scripts/db.*/** + - '**.sql' display: - changed-files: - any-glob-to-any-file: - - display/**/* - - lib/display/**/* + - display/** + - lib/display/** - scripts/d.*/** general: - changed-files: - any-glob-to-any-file: - - general/**/* + - general/** - scripts/g.*/** GUI: - changed-files: - any-glob-to-any-file: - - gui/**/* + - gui/** imagery: - changed-files: - any-glob-to-any-file: - - imagery/**/* - - lib/imagery/**/* + - imagery/** + - lib/imagery/** - scripts/i.*/** misc: - changed-files: - any-glob-to-any-file: - - misc/**/* + - misc/** - scripts/m.*/** raster: - changed-files: - any-glob-to-any-file: - - raster/**/* - - lib/raster/**/* + - raster/** + - lib/raster/** - scripts/r.*/** raster3d: - changed-files: - any-glob-to-any-file: - - raster3d/**/* - - lib/raster3d/**/* + - raster3d/** + - lib/raster3d/** - scripts/r3.*/** temporal: - changed-files: - any-glob-to-any-file: - - temporal/**/* - - lib/temporal/**/* + - temporal/** + - lib/temporal/** - scripts/t.*/** vector: - changed-files: - any-glob-to-any-file: - - vector/**/* - - lib/vector/**/* + - vector/** + - lib/vector/** - scripts/v.*/** # Build, packaging, or OS related CI: - changed-files: - any-glob-to-any-file: - - .github/**/* - - .travis/**/* + - .github/** + - .travis/** - binder/** - .travis.yml - renovate.json @@ -92,31 +92,30 @@ CI: Windows: - changed-files: - any-glob-to-any-file: - - mswindows/**/* + - mswindows/** macOS: - changed-files: - any-glob-to-any-file: - - macosx/**/* + - macosx/** Linux: - changed-files: - any-glob-to-any-file: - - singularity/**/* + - singularity/** - rpm/** docker: - changed-files: - any-glob-to-any-file: - - docker/**/* + - docker/** - '**/*Dockerfile*' - '**/*dockerfile*' - - '*Dockerfile*' - - '*dockerfile*' - .dockerignore docs: +- all: - changed-files: - any-glob-to-any-file: - - doc/**/* - - man/**/* + - doc/** + - man/** - '**/*.md' - '**/*.rst' - '**/*.html' @@ -129,14 +128,14 @@ docs: - NEWS - TODO - all-globs-to-all-files: - - '!doc/development/rfc/*' + - '!doc/development/rfc/**' RFC: - changed-files: - any-glob-to-any-file: - - doc/development/rfc/* + - doc/development/rfc/** translation: - changed-files: - - any-glob-to-any-file: locale/**/* + - any-glob-to-any-file: locale/** # based on file types Python: @@ -144,7 +143,6 @@ Python: - any-glob-to-any-file: - '**/*.py' - '**/pyproject.toml' - - 'pyproject.toml' C: - changed-files: - any-glob-to-any-file: '**/*.c'