From 4e4d7b2805253c03a73f62747348b7e089d0a291 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=84=A0=EC=9A=B0?= Date: Wed, 29 Jan 2025 20:50:00 +0900 Subject: [PATCH] Add labeler --- .github/labeler.yml | 17 +++++++++++++++++ .github/workflows/labeler.yml | 17 +++++++++++++++++ 2 files changed, 34 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 000000000..f1553088e --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,17 @@ +bindings/java: + - 'bindings/java/**' + +bindings/go: + - 'bindings/go/**' + +bindings/python: + - 'bindings/python/**' + +bindings/rust: + - 'bindings/rust/**' + +bindings/wasm: + - 'bindings/wasm/**' + +core: + - 'core/**' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 000000000..9b2b02c5f --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,17 @@ +name: Labeler +on: + pull_request: + types: [opened, synchronize] + +jobs: + label: + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + + steps: + - uses: actions/labeler@v4 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + configuration-path: .github/labeler.yml