github-actions-labeler: initial commit [no ci]

This commit is contained in:
brian khuu 2024-05-16 23:40:46 +10:00
parent ad52d5c259
commit 83d000d628
2 changed files with 109 additions and 0 deletions

97
.github/labeler.yml vendored Normal file
View file

@ -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

12
.github/workflows/labeler.yml vendored Normal file
View file

@ -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