Browse Source

add labeler (#5078)

tags/20231027
nihui GitHub 2 years ago
parent
commit
97ffd1e661
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions
  1. +12
    -0
      .github/label.yml
  2. +26
    -0
      .github/labeler.yml

+ 12
- 0
.github/label.yml View File

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

+ 26
- 0
.github/labeler.yml View File

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

Loading…
Cancel
Save