From c6a4eea9af02a36f0eb40ec5a7d42a915580d5cf Mon Sep 17 00:00:00 2001 From: JoShMiQueL Date: Tue, 15 Apr 2025 21:33:01 +0200 Subject: [PATCH] fix: update config and ci labels to use proper changed-files syntax --- .github/labeler.yml | 48 +++++++++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 21 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 5e28221..1e05302 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,38 +1,44 @@ typescript: - - '**/*.ts' + - changed-files: + any-glob-to-any-file: ['**/*.ts'] native: - - 'native/**/*' - - 'binding.gyp' + - changed-files: + any-glob-to-any-file: ['native/**/*', 'binding.gyp'] documentation: - - 'README.md' - - 'docs/**/*' + - changed-files: + any-glob-to-any-file: ['README.md', 'docs/**/*'] tests: - - 'test/**/*' + - changed-files: + any-glob-to-any-file: ['test/**/*'] examples: - - 'examples/**/*' + - changed-files: + any-glob-to-any-file: ['examples/**/*'] build: - - 'build.ts' - - 'build/**/*' - - 'tsconfig.json' + - changed-files: + any-glob-to-any-file: ['build.ts', 'build/**/*', 'tsconfig.json'] dependencies: - - 'package.json' - - 'bun.lock' + - changed-files: + any-glob-to-any-file: ['package.json', 'bun.lock'] config: - - 'config/**/*' - - '.gitignore' - - '.npmignore' - - '.gitattributes' - - 'lefthook.yml' - - 'biome.json' - - '.github/*' - - '.github/!(workflows)/**/*' + - changed-files: + any-glob-to-any-file: [ + 'config/**/*', + '.gitignore', + '.npmignore', + '.gitattributes', + 'lefthook.yml', + 'biome.json', + '.github/*', + '.github/!(workflows)/**/*' + ] ci: - - '.github/workflows/**/*' + - changed-files: + any-glob-to-any-file: ['.github/workflows/**/*']