From 97ffd1e661e91dbc74ee032ad052fc1f605627f0 Mon Sep 17 00:00:00 2001 From: nihui Date: Wed, 11 Oct 2023 20:10:00 +0800 Subject: [PATCH] add labeler (#5078) --- .github/label.yml | 12 ++++++++++++ .github/labeler.yml | 26 ++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 .github/label.yml create mode 100644 .github/labeler.yml diff --git a/.github/label.yml b/.github/label.yml new file mode 100644 index 000000000..889c41b54 --- /dev/null +++ b/.github/label.yml @@ -0,0 +1,12 @@ +name: labeler +on: [pull_request_target] + +permissions: + contents: read + pull-requests: write + +jobs: + label: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v4 diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..0d98b80d5 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,26 @@ +cmake: +- cmake/** +- **/CMakeLists.txt +- **/*.cmake +- toolchains/** + +doc: docs/** + +python: python/** + +example: examples/** + +test: tests/** + +tool: tools/** +pnnx: tools/pnnx/** + +core: src/* +layer: src/layer/* + +arm: src/layer/arm/** +loongarch: src/layer/loongarch/** +mips: src/layer/mips/** +riscv: src/layer/riscv/** +vulkan: src/layer/vulkan/** +x86: src/layer/x86/**