From 83d000d62854d6cbb4166b2c08cad9518aa7f2fc Mon Sep 17 00:00:00 2001 From: brian khuu Date: Thu, 16 May 2024 23:40:46 +1000 Subject: [PATCH 1/2] github-actions-labeler: initial commit [no ci] --- .github/labeler.yml | 97 +++++++++++++++++++++++++++++++++++ .github/workflows/labeler.yml | 12 +++++ 2 files changed, 109 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000000..f2caa322da317 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,97 @@ +# https://github.com/actions/labeler + +## AUTO DIFFICULTIES MARKER +############################ + +"review complexity : high": + - changed-files: + - any-glob-to-any-file: + - ggml-cuda/*.cu + - ggml-cuda/*.cuh + - ggml-vulkan.cpp + - ggml-sycl.cpp + - ggml_vk_generate_shaders.py + - ggml-sycl.cpp +"review complexity : medium": + - changed-files: + - any-glob-to-any-file: + - .devops/** + - .github/** + - ci/** +#'review complexity : low': + + +## AUTO CATEGORIZATION +####################### + +SYCL: + - changed-files: + - any-glob-to-any-file: + - ggml-sycl.h + - ggml-sycl.cpp + - README-sycl.md +Nvidia GPU: + - changed-files: + - any-glob-to-any-file: + - ggml-cuda/** +Vulkan: + - changed-files: + - any-glob-to-any-file: + - ggml_vk_generate_shaders.py + - ggml-vulkan* +documentation: + - changed-files: + - any-glob-to-any-file: + - docs/** + - media/** +testing: + - changed-files: + - any-glob-to-any-file: + - tests/** +build: + - changed-files: + - any-glob-to-any-file: + - cmake/** + - CMakeLists.txt + - CMakePresets.json + - codecov.yml +examples: + - changed-files: + - any-glob-to-any-file: examples/** +devops: + - changed-files: + - any-glob-to-any-file: + - .devops/** + - .github/** + - ci/** +python: + - changed-files: + - any-glob-to-any-file: + - "**/*.py" + - requirements/** + - gguf-py/** + - .flake8 +script: + - changed-files: + - any-glob-to-any-file: + - scripts/** +android: + - changed-files: + - any-glob-to-any-file: + - examples/llama.android/** +server: + - changed-files: + - any-glob-to-any-file: + - examples/server/** +ggml: + - changed-files: + - any-glob-to-any-file: + - ggml-*.c + - ggml-*.h + - ggml-cuda/** +nix: + - changed-files: + - any-glob-to-any-file: + - "**/*.nix" + - .github/workflows/nix-*.yml + - .devops/nix/nixpkgs-instances.nix diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000000..e57cd86e2b3c7 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,12 @@ +name: "Pull Request Labeler" +on: +- pull_request_target + +jobs: + labeler: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5 From a76505e8564121be127af2dd2fe065543573cea3 Mon Sep 17 00:00:00 2001 From: brian khuu Date: Sat, 18 May 2024 16:03:30 +1000 Subject: [PATCH 2/2] github actions: remove priority auto labeling [no ci] --- .github/labeler.yml | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index f2caa322da317..fca60594f148f 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,29 +1,5 @@ # https://github.com/actions/labeler -## AUTO DIFFICULTIES MARKER -############################ - -"review complexity : high": - - changed-files: - - any-glob-to-any-file: - - ggml-cuda/*.cu - - ggml-cuda/*.cuh - - ggml-vulkan.cpp - - ggml-sycl.cpp - - ggml_vk_generate_shaders.py - - ggml-sycl.cpp -"review complexity : medium": - - changed-files: - - any-glob-to-any-file: - - .devops/** - - .github/** - - ci/** -#'review complexity : low': - - -## AUTO CATEGORIZATION -####################### - SYCL: - changed-files: - any-glob-to-any-file: