Skip to content

Commit

Permalink
CI(labeler): Fix RFC exclusion from docs, adjust other globs (OSGeo#3360
Browse files Browse the repository at this point in the history
)

* CI(labeler): Fix RFC exclusion from docs

* CI(labeler): Simplify double star globs when appropriate

* CI(labeler): Add database to `**.sql` files
  • Loading branch information
echoix authored Jan 14, 2024
1 parent 206b69e commit ddf374e
Showing 1 changed file with 44 additions and 46 deletions.
90 changes: 44 additions & 46 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,121 +2,120 @@
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
- .pre-commit-config.yaml
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'
Expand All @@ -129,22 +128,21 @@ 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:
- changed-files:
- any-glob-to-any-file:
- '**/*.py'
- '**/pyproject.toml'
- 'pyproject.toml'
C:
- changed-files:
- any-glob-to-any-file: '**/*.c'
Expand Down

0 comments on commit ddf374e

Please sign in to comment.