From 2f60e1ab18cea0a8cbe71a16eb135841866f330a Mon Sep 17 00:00:00 2001 From: Timor Morrien Date: Sat, 10 Feb 2024 17:37:50 +0100 Subject: [PATCH] Add PR labeler --- .github/labeler.yml | 3 +++ .github/workflows/pullrequest-labeler.yml | 10 ++++++++++ 2 files changed, 13 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/pullrequest-labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000..62d31784 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,3 @@ +"component:LLM": + - changed-files: + - any-glob-to-any-file: app/llm/** diff --git a/.github/workflows/pullrequest-labeler.yml b/.github/workflows/pullrequest-labeler.yml new file mode 100644 index 00000000..90c20ceb --- /dev/null +++ b/.github/workflows/pullrequest-labeler.yml @@ -0,0 +1,10 @@ +name: Pull Request Labeler +on: [pull_request_target] + +jobs: + label: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"