summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <mofosyne@gmail.com>2024-05-18 16:04:23 +1000
committerGitHub <noreply@github.com>2024-05-18 16:04:23 +1000
commitde731963441ff128248259e1b99573d75264d210 (patch)
tree6ab61b0ef746b4f19b6d2311ac53fdbd4e3a43b3
parentb49a13dd2fa9c94c2c19a8c248bb7fa45499f9a8 (diff)
github-actions-labeler: initial commit (#7330)
* github-actions-labeler: initial commit [no ci] * github actions: remove priority auto labeling [no ci]
-rw-r--r--.github/labeler.yml73
-rw-r--r--.github/workflows/labeler.yml12
2 files changed, 85 insertions, 0 deletions
diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644
index 00000000..fca60594
--- /dev/null
+++ b/.github/labeler.yml
@@ -0,0 +1,73 @@
+# https://github.com/actions/labeler
+
+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 00000000..e57cd86e
--- /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