diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..216bdf655 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,27 @@ +"ModelExplainability": +- changed-files: + - any-glob-to-any-file: "tests/model_explainability/**" + +"ModelRegistry": +- changed-files: + - any-glob-to-any-file: "tests/model_registry/**" + +"ModelServing": +- changed-files: + - any-glob-to-any-file: "tests/model_serving/**" + +"Workbenches": +- changed-files: + - any-glob-to-any-file: "tests/workbenches/**" + +"GitHub": +- changed-files: + - any-glob-to-any-file: ".github/**" + +"Documentation": +- changed-files: + - any-glob-to-any-file: "docs/**" + +"Utilities": +- changed-files: + - any-glob-to-any-file: "utilities/**" diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 000000000..a987f8c65 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,13 @@ +name: "Pull Request Labeler" +on: +- pull_request_target + +jobs: + labeler: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/labeler@v5