diff --git a/.github/labeler.yml b/.github/labeler.yml index 7c42826..9683811 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,4 +1,42 @@ # Auto-label pull requests based on changed files +# Configuration for actions/labeler@v5 + +documentation: + - changed-files: + - any-glob-to-any-file: + - '**/*.md' + - 'docs/**/*' + +workflows: + - changed-files: + - any-glob-to-any-file: + - '.github/workflows/**/*' + +ci: + - changed-files: + - any-glob-to-any-file: + - '.github/workflows/**/*' + - '.github/actions/**/*' + +dependencies: + - changed-files: + - any-glob-to-any-file: + - 'package.json' + - 'package-lock.json' + - 'Dockerfile' + +scripts: + - changed-files: + - any-glob-to-any-file: + - 'bin/**/*' + - 'scripts/**/*' + +tests: + - changed-files: + - any-glob-to-any-file: + - 'test/**/*' + - '**/*.test.js' + - '**/*.spec.js' # Format for actions/labeler@v5 documentation: @@ -30,9 +68,19 @@ tests: configuration: - changed-files: - any-glob-to-any-file: + - '**/.*.yml' + - '**/.*.yaml' + - '**/.*.json' + - '.editorconfig' + - '.gitignore' ['**/.*.yml', '**/.*.yaml', '**/.*.json', '.editorconfig', '.gitignore'] community: - changed-files: - any-glob-to-any-file: + - 'CODE_OF_CONDUCT.md' + - 'CONTRIBUTING.md' + - 'SECURITY.md' + - 'SUPPORT.md' + - 'LICENSE' ['CODE_OF_CONDUCT.md', 'CONTRIBUTING.md', 'SECURITY.md', 'SUPPORT.md', 'LICENSE']