diff --git a/.github/action_configs/labeler.yml b/.github/action_configs/labeler.yml index 1523e5fa038..4095e548448 100644 --- a/.github/action_configs/labeler.yml +++ b/.github/action_configs/labeler.yml @@ -1,49 +1,81 @@ # See help here: https://github.com/marketplace/actions/labeler dependencies: - - 'requirements.txt' - - '**/setup.py' +- any: + - changed-files: + - any-glob-to-any-file: + - 'requirements.txt' + - '**/setup.py' NNCF PT: - - 'examples/torch/**/*!(.md)' - - 'examples/post_training_quantization/torch/**/*!(.md)' - - 'nncf/torch/**/*!(.md)' - - 'tests/torch/**/*!(.md)' - - 'nncf/quantization/**/torch_backend.py' +- any: + - changed-files: + - any-glob-to-any-file: + - 'examples/torch/**/*!(.md)' + - 'examples/post_training_quantization/torch/**/*!(.md)' + - 'nncf/torch/**/*!(.md)' + - 'tests/torch/**/*!(.md)' + - 'nncf/quantization/**/torch_backend.py' NNCF TF: - - 'examples/tensorflow/**/*!(.md)' - - 'examples/post_training_quantization/tensorflow/**/*!(.md)' - - 'nncf/tensorflow/**/*!(.md)' - - 'tests/tensorflow/**/*!(.md)' - - 'nncf/quantization/**/tf_backend.py' +- any: + - changed-files: + - any-glob-to-any-file: + - 'examples/tensorflow/**/*!(.md)' + - 'examples/post_training_quantization/tensorflow/**/*!(.md)' + - 'nncf/tensorflow/**/*!(.md)' + - 'tests/tensorflow/**/*!(.md)' + - 'nncf/quantization/**/tf_backend.py' NNCF ONNX: - - 'examples/onnx/**/*!(.md)' - - 'examples/post_training_quantization/onnx/**/*!(.md)' - - 'nncf/onnx/**/*!(.md)' - - 'tests/onnx/**/*!(.md)' - - 'nncf/quantization/**/onnx_backend.py' +- any: + - changed-files: + - any-glob-to-any-file: + - 'examples/onnx/**/*!(.md)' + - 'examples/post_training_quantization/onnx/**/*!(.md)' + - 'nncf/onnx/**/*!(.md)' + - 'tests/onnx/**/*!(.md)' + - 'nncf/quantization/**/onnx_backend.py' NNCF OpenVINO: - - 'examples/openvino/**/*!(.md)' - - 'examples/post_training_quantization/openvino/**/*!(.md)' - - 'nncf/openvino/**/*!(.md)' - - 'tests/openvino/**/*!(.md)' - - 'nncf/quantization/**/openvino_backend.py' +- any: + - changed-files: + - any-glob-to-any-file: + - 'examples/openvino/**/*!(.md)' + - 'examples/post_training_quantization/openvino/**/*!(.md)' + - 'nncf/openvino/**/*!(.md)' + - 'tests/openvino/**/*!(.md)' + - 'nncf/quantization/**/openvino_backend.py' NNCF PTQ: - - 'nncf/quantization/**/*!(.md)' - - 'tests/post_training/**/*!(.md)' +- any: + - changed-files: + - any-glob-to-any-file: + - 'nncf/quantization/**/*!(.md)' + - 'tests/post_training/**/*!(.md)' documentation: - - '**/*.md' - - 'docs/**/*' +- any: + - changed-files: + - any-glob-to-any-file: + - '**/*.md' + - 'docs/**/*' experimental: - - 'nncf/experimental/**/*!(.md)' +- any: + - changed-files: + - any-glob-to-any-file: + - 'nncf/experimental/**/*!(.md)' NNCF Common: - - 'examples/common/**/*!(.md)' - - 'nncf/common/**/*!(.md)' - - 'tests/common/**/*!(.md)' +- any: + - changed-files: + - any-glob-to-any-file: + - 'examples/common/**/*!(.md)' + - 'nncf/common/**/*!(.md)' + - 'tests/common/**/*!(.md)' + +release target: +- any: + - base-branch: + - '^release_v*' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 41652356355..d9b3d78194e 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -10,7 +10,7 @@ jobs: pull-requests: write runs-on: ubuntu-20.04 steps: - - uses: actions/labeler@ac9175f8a1f3625fd0d4fb234536d26811351594 # v4.3.0 + - uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" configuration-path: '.github/action_configs/labeler.yml'